WCAG Contrast Checker
Check color contrast for accessibility compliance instantly.
The quick brown fox
Jumps over the lazy dog
Contrast ratio
17.40:1
Rating
AAA
WCAG 2.1 Results
AA | Normal text (4.5:1)
AA | Large text (3:1)
AA | UI components (3:1)
AAA | Normal text (7:1)
AAA | Large text (4.5:1)
What is WCAG contrast?
The Web Content Accessibility Guidelines (WCAG) define minimum contrast ratios to ensure text is readable for people with visual impairments. The contrast ratio is calculated from the relative luminance of two colors and ranges from 1:1 (no contrast) to 21:1 (black on white).
WCAG levels explained
- AA Normal text | minimum ratio of 4.5:1. Required for body text under 18pt (or 14pt bold).
- AA Large text | minimum ratio of 3:1. For text 18pt and above, or 14pt bold and above.
- AA UI components | minimum ratio of 3:1. For icons, input borders, and other non-text elements.
- AAA Normal text | enhanced ratio of 7:1. Highest standard for critical interfaces.
- AAA Large text | enhanced ratio of 4.5:1.
Frequently asked questions
Does my site need to pass WCAG?
WCAG AA is legally required in many jurisdictions for public-facing websites, especially in the EU and US. AAA is recommended but not legally mandated.
What counts as "large text"?
WCAG defines large text as 18pt (24px) or larger, or 14pt (approximately 18.67px) bold or larger.
