EllyTools

Image Tools

Calculators

Text Tools

Color Tools

File Tools

Utility Tools

Contrast Checker

Check WCAG color contrast for accessibility

12.63

Contrast Ratio

Large Text Preview (18pt+)

Normal text preview. The quick brown fox jumps over the lazy dog.

Small text preview for detailed content and captions.

WCAG AA

Normal text (β‰₯4.5:1)PASS
Large text (β‰₯3:1)PASS

WCAG AAA

Normal text (β‰₯7:1)PASS
Large text (β‰₯4.5:1)PASS

β—ˆ How to Use

1

Pick or enter foreground and background colors

2

View the WCAG contrast ratio and pass/fail results

3

Apply suggested colors if your combination fails compliance

❓ Frequently Asked Questions

Related Tools

β—‰ Who Is This For?

  • βœ“Web designers ensuring accessible color combinations
  • βœ“Developers checking WCAG AA and AAA compliance
  • βœ“Accessibility auditors reviewing website color contrast

Contrast Checker: WCAG Compliance for Accessible Text

Light gray text on a white background may look elegant, but it fails accessibility β€” and Google penalizes inaccessible designs in mobile rankings. This tool measures the contrast ratio between two colors against WCAG standards.

WCAG (Web Content Accessibility Guidelines) sets contrast standards: AA requires 4.5:1 for normal text, 3:1 for large text. AAA (stricter) requires 7:1 normal, 4.5:1 large. The ratio is calculated from the relative luminance of the two colors.

WCAG contrast requirements

LevelNormal textLarge text (18pt+ or 14pt bold)
AA (minimum)4.5:13:1
AAA (enhanced)7:14.5:1
UI components / icons (AA)β€”3:1

Common contrast failures

  • β€’Light gray (#999) on white β€” only 2.85:1, fails AA
  • β€’Light blue (#88AADD) on white β€” fails AA
  • β€’Dark gray (#666) on black β€” fails AA
  • β€’Yellow on white β€” almost always fails
  • β€’Brand color buttons with the brand color as text β€” frequently fails

Extended FAQ

Does Google rank for contrast?

Indirectly β€” Lighthouse's accessibility score affects mobile rankings, and contrast is a major component. Sites that fail WCAG AA tend to score worse.

Are my colors stored?

No β€” runs entirely in your browser.