# WCAG Colour Contrast Checker

- Link: https://bestwebdeveloper.org/tools/color-contrast-checker/
- Published: 2026-12-03T18:03:44+00:00
- Author: Best Web Developer

[Home](https://bestwebdeveloper.org/) › [Tools](https://bestwebdeveloper.org/tools/)›
WCAG Colour Contrast Checker

## WCAG Colour Contrast Checker

 Foreground  Background

Enable JavaScript to use the calculator in your browser.

## What this tool does

Compare two solid hex colours using the WCAG relative luminance formula. Check AA
and AAA thresholds for normal and large text, then see a suggested foreground colour
when AA fails.

## How to use it

 1. Enter the foreground and background colours as three- or six-digit hex values.
 2. Read the reported contrast ratio and check the text size you use.
 3. If AA fails, test the suggested foreground colour in your design.

## Limits

This check covers solid colours only. It does not evaluate transparency, gradients,
imagery, text size, focus indicators or full accessibility.

## Frequently asked questions

### What is a colour contrast ratio?

It compares the relative luminance of a lighter and darker colour, on a scale from
1:1 to 21:1.

### What ratio does WCAG AA require for text?

AA requires at least 4.5:1 for normal text and 3:1 for large text.

### What ratio does AAA require for text?

AAA requires at least 7:1 for normal text and 4.5:1 for large text.

### What counts as large text?

The WCAG thresholds are at least 18 point regular or 14 point bold, about 24 px 
and 18.7 px respectively.

### How is the suggested colour chosen?

The tool adjusts the foreground toward black or white until the pair meets 4.5:1
against the selected background.

### Does a passing ratio guarantee accessibility?

The result covers text colour contrast only. Test text size, states, keyboard interaction,
zoom and other accessibility requirements separately.

## Related free tools

 * [Colour Converter](https://bestwebdeveloper.org/tools/colour-converter/)
 * [Logo Maker](https://bestwebdeveloper.org/tools/logo-maker/)
 * [Favicon Generator](https://bestwebdeveloper.org/tools/favicon-generator/)
 * [Image Inspector](https://bestwebdeveloper.org/tools/image-inspector/)

## Need a tool for your own website?

Explore [ecommerce websites](https://bestwebdeveloper.org/industries/ecommerce/)
and our [web design and development](https://bestwebdeveloper.org/services/web-design-development/)
service.

 [Discuss your project](https://bestwebdeveloper.org/contact/)

Last reviewed 3 December 2026
