FREE TOOLS // DESIGN

Check WCAG color contrast in your browser

Check foreground and background against WCAG 2 AA and AAA text thresholds.

Runs locally in browserNo sign-up · Free forever

Input

Local browser

Result

Idle

Your output will appear here once you run the tool.

GUIDE & SPECS // CONTRAST CHECKER

How to use Contrast Checker

Contrast Checker calculates exact WCAG 2 relative luminance contrast ratios between any foreground text color and background color, instantly grading AA and AAA compliance for both normal and large text alongside a live visual preview swatch.

Step-by-step instructions

  1. Pick or enter a foreground Text color and a Background color.
  2. Click Check contrast to compute the exact contrast ratio (e.g. 16.098:1).
  3. Review Pass/Fail verdicts for WCAG 2 AA normal (4.5:1), AA large (3:1), AAA normal (7:1), and AAA large (4.5:1).

Key features & limits

  • Exact WCAG 2.1 sRGB linearization and relative luminance calculation
  • Clear Pass/Fail results across all four AA and AAA text thresholds
  • Live foreground-on-background sample swatch for visual verification
  • Instant client-side calculation with one-click copy of the report

FAQ // DESIGN

Frequently asked questions

Are my colors uploaded?

No. Relative luminance and contrast ratios are computed locally in your browser using the WCAG 2.1 sRGB formula.

How do I check WCAG AA and AAA contrast?

Pick a foreground Text color and a Background color, then click Check contrast to see the exact ratio and Pass/Fail verdicts for AA normal (4.5:1), AA large (3:1), AAA normal (7:1), and AAA large (4.5:1).

What does Contrast Checker not do?

It evaluates solid opaque sRGB hex pairs against WCAG 2 text thresholds — it does not blend semi-transparent alpha overlays or compute APCA perceptual scores.