Why AAA is the strictest contrast level
Web accessibility rules come in three levels: A, AA, and AAA. Most laws and most companies ask for AA, which needs a contrast ratio of 4.5 to 1 for normal text. AAA is the strictest level, and it needs 7 to 1 for normal text and 4.5 to 1 for large text. Government sites, schools, and health services often aim for AAA, because their readers include older people and people with low vision who need the strongest contrast.
The ratio measures how different two colours look to the human eye, not just how different their numbers are. Pure black on pure white scores 21 to 1, the highest possible, while a medium grey on white scores only about 4.5 to 1. A colour that looks fine to a young designer on a bright screen can be unreadable to someone with cataracts or a cheap phone in sunlight.
How to use the checker
Type your text colour as a hex code, like #1a73e8, and your background colour, like #ffffff for white. You can also pick the colours with the two colour pickers, which fill the boxes for you. Then choose normal text or large text: large text means 18 point or bigger, or 14 point bold or bigger, and it gets the easier AAA target of 4.5 to 1.
Press the button. The preview box shows your text in your colours, the result shows the ratio, and the details line says whether the pair passes AAA or only AA. The bar shows where the ratio sits from fail to maximum, and the next step tells you to darken the text or lighten the background until the ratio reaches 7 to 1.
Worked example
Take black text on a white background, #000000 on #ffffff. The ratio is 21 to 1, the highest possible, and it passes AAA easily. Take a medium grey, #767676, on white instead. The ratio is 4.54 to 1, which passes AA for normal text but fails AAA, because AAA needs 7 to 1. Darken that grey one step to #595959 and the ratio becomes 7 to 1, which passes AAA exactly.
Take a common blue link colour, #1a73e8, on white. The ratio is 4.51 to 1, which passes AA but not AAA. For large headings that blue passes AAA, because large text only needs 4.5 to 1, but for body text it does not. The checker shows all of this in one click, so you can test each colour pair before you publish.
Who uses this checker
Web designers and developers use it most, usually while picking a colour palette for a new site. Testing each text and background pair early saves a redesign later, when an accessibility audit flags a failing colour. Content teams use it for buttons and links, because a button that looks stylish but fails contrast loses clicks from readers who cannot read it.
Government and education teams use it because their rules often demand AAA. A school site with light grey body text fails the strictest audits, and this checker shows the fix in seconds: darken the text until the ratio reaches 7 to 1. Bloggers use it too, for the same reason: readable text keeps readers on the page longer.
Honest limitations
A passing ratio does not guarantee readable text. Very small text, thin fonts, and text over photos can still be hard to read even at 7 to 1, because the ratio only measures colour, not size or weight. The checker also tests one pair at a time, so a page with ten colour pairs needs ten checks.
The ratio uses the WCAG formula for relative luminance, which models standard vision. Colour-blind readers see colours differently, so a pair that passes on numbers can still confuse two colours that look alike to them. Test with a colour-blindness simulator as well if your design relies on colour alone to carry meaning.
Frequently asked questions
What is the difference between AA and AAA? AA needs 4.5 to 1 for normal text and 3 to 1 for large text. AAA needs 7 to 1 for normal text and 4.5 to 1 for large text. AAA is the strictest level and the hardest to reach.
What counts as large text? Text of 18 points or bigger, or 14 point bold or bigger, counts as large under WCAG. Large text gets the easier target in both AA and AAA.
Does my site need AAA? Most sites only need AA by law. AAA is a goal for government, education, and health sites, and a good target for any site that wants the widest possible audience.
Can I fix a failing pair without changing the brand colour? Yes. Keep the brand colour for large headings or icons, and use a darker shade of the same colour for body text. The shade keeps the brand look and passes the test.
También disponible en español: Comprobador de Contraste de Color WCAG AAA – Contraste Estricto de Texto, Gratis
