Developer & Tech
Color Converter & WCAG Contrast Checker
Enter any two colors to see their contrast ratio and whether they meet WCAG AA or AAA accessibility standards.
★ See Developer & Tech reviews →Reference
WCAG contrast thresholds
| Level | Text type | Min. ratio | Typical use |
|---|---|---|---|
| AA | Normal text | 4.5 : 1 | Body copy, labels, links |
| AA | Large text (18pt+ or 14pt+ bold) | 3.0 : 1 | Headings |
| AA | UI components & graphics | 3.0 : 1 | Buttons, inputs, icons |
| AAA | Normal text | 7.0 : 1 | High-accessibility contexts |
| AAA | Large text | 4.5 : 1 | Enhanced heading contrast |
FAQ
Common questions
WCAG (Web Content Accessibility Guidelines) defines contrast ratio as the difference in relative luminance between two colors, on a scale from 1:1 (identical colors, no contrast) to 21:1 (black on white, maximum contrast). It is calculated using the WCAG 2.x relative luminance formula, which applies a gamma correction to each RGB channel before computing the ratio.