Free accessibility tool
Color Contrast Checker (WCAG 2.2 AA & AAA)
Visual preview of the selected colors. The contrast results follow.
Contrast ratio
5.42:1
| Requirement | Needs | Result |
|---|---|---|
| Normal text — AA (SC 1.4.3) | 4.5:1 | Pass |
| Large text — AA (SC 1.4.3) | 3:1 | Pass |
| Normal text — AAA (SC 1.4.6) | 7:1 | Fail |
| Large text — AAA (SC 1.4.6) | 4.5:1 | Pass |
| UI components & graphics (SC 1.4.11) | 3:1 | Pass |
How to use the contrast checker
- Enter your text color and background color — as hex (#1a73e8), rgb() or hsl(), or use the color picker.
- Read the contrast ratio and the pass/fail results for normal text, large text and UI components.
- If it fails, use the suggested color: it keeps your hue and only changes lightness.
- Share the result — the URL updates automatically with both colors.
WCAG contrast requirements at a glance
- Normal text, AA: 4.5:1 · AAA: 7:1
- Large text (≥ 24px, or ≥ 18.66px bold), AA: 3:1 · AAA: 4.5:1
- UI components & graphics (input borders, icons, focus indicators): 3:1
- Logos and purely decorative text are exempt.
Common contrast problems
- Light gray placeholder or helper text (e.g. #999 on white is only about 2.8:1).
- White text on bright brand colors like orange, yellow or light green buttons.
- Text on top of photos or gradients — check against the lightest area behind the text.
- Disabled-looking but still important text, and link colors that are too close to body text.
Want to check more than colors? Our free website checkup tools also test email authentication and Google indexing.
Frequently asked questions
What contrast ratio do I need for WCAG AA?
Normal text needs at least 4.5:1 and large text (24px regular or 18.66px bold and up) needs at least 3:1 (WCAG 2.2, success criterion 1.4.3). Icons, input borders and other UI components need 3:1 against adjacent colors (1.4.11).
What is the difference between AA and AAA?
AA is the level most laws and policies refer to (for example the ADA in the US and the European Accessibility Act via EN 301 549). AAA is stricter — 7:1 for normal text and 4.5:1 for large text — and is recommended for long reading content.
How is the contrast ratio calculated?
WCAG uses the relative luminance of both colors: (L1 + 0.05) / (L2 + 0.05), where L1 is the lighter color. The result ranges from 1:1 (identical colors) to 21:1 (black on white). We show the ratio truncated to two decimals so 4.499 never appears as a pass.
Does this check transparent colors?
Yes. Colors with transparency (like #00000080 or rgba(0,0,0,.5)) are blended over the background first — just like the browser renders them — and then measured.
Does passing contrast make my website accessible?
No — contrast is one important requirement among many (alt text, keyboard navigation, form labels, headings and more). Automated checks can only find part of all accessibility issues, so manual testing is still needed.