WCAG color contrast checker
Enter a text and background color to see the contrast ratio and whether it passes WCAG 2.2 AA and AAA. If it fails, we suggest the closest color that passes.
Contrast checker
The quick brown fox jumps over the lazy dog
Contrast ratio
8.66:1
WCAG 2.2 results
| Element type | AA | AAA |
|---|---|---|
| Normal text | AAPass(4.5:1) | AAAPass(7:1) |
| Large text | AAPass(3:1) | AAAPass(4.5:1) |
| UI components and graphics | AAPass(3:1) | – |
Trusted by organizations across Europe working toward WCAG and EAA conformance
What is a WCAG color contrast checker and why use it?
Sufficient contrast improves readability for everyone, especially users with low vision, color-vision deficiencies, or on low-quality displays.
Check 1.4.3 Contrast (Minimum), 1.4.6 Contrast (Enhanced), and 1.4.11 Non-text Contrast for UI components and graphics.
The European Accessibility Act points to EN 301 549, which uses the WCAG contrast rules. Passing them is part of meeting the law.
Accessible palettes create resilient, legible interfaces that work in light/dark themes and across devices.
WCAG contrast requirements
| Element type | AA | AAA | Success criteria |
|---|---|---|---|
| Normal text | 4.5:1 | 7:1 | 1.4.3, 1.4.6 |
| Large-scale text | 3:1 | 4.5:1 | 1.4.3, 1.4.6 |
| UI components and graphics | 3:1 | – | 1.4.11 |
Large text is at least 24px (18pt), or at least 18.7px (14pt) when bold. Logos, purely decorative text and disabled controls are exempt.
FAQ
What contrast ratio does WCAG AA require?
What counts as 'large text'?
Do buttons, icons and form borders need contrast?
How do I fix a color that fails?
Did WCAG 2.2 change the contrast ratios?
Do the EAA and the ADA require WCAG contrast?
Make contrast checks part of your workflow
Run contrast checks during design reviews and code PRs. Combine with automated scanning to catch issues at scale.