WCAG 2.x · AA & AAA

Contrast Ratio Checker

Pick a text colour and a background colour — get the exact WCAG contrast ratio and instant AA/AAA pass or fail for normal and large text.

#0a0e0e

#4fdbc8

Large heading text

The quick brown fox jumps over the lazy dog — body copy at normal size, so you can judge real legibility.

Results

11.37:1

contrast ratio

AA — normal text (≥ 4.5:1) Pass
AA — large text (≥ 3:1) Pass
AAA — normal text (≥ 7:1) Pass
AAA — large text (≥ 4.5:1) Pass

AA is the legal bar

Most accessibility laws reference WCAG AA. If normal body text fails 4.5:1, fix it before launch — it is the most commonly cited accessibility failure.

Test real combinations

Check every text/background pairing you actually ship — buttons, badges, disabled states and placeholder text included. One global palette check is not enough.

Failing? Darken slightly

Nudging the text colour a few shades darker usually clears AA with almost no visual change. Or invert: put light text on the dark colour instead.

How to use the contrast ratio checker

  1. Pick the text colour

    The foreground colour — what your words are actually drawn in.

  2. Pick the background

    The surface behind the text: page, card, button or badge.

  3. Read the verdicts

    Four pass/fail lines cover AA and AAA for both normal and large text.

  4. Judge it with your eyes

    The live preview shows your exact pair at both sizes — numbers matter, but so does real legibility.

Checks colour contrast only — font size, weight, spacing and motion also affect readability.

Frequently asked questions

Related tools

Need a custom tool?

We build calculators and internal tools for businesses — get in touch.

Directory last updated 2 December 2026.

Disclaimer: this checks colour contrast per the WCAG 2.x formula. Full accessibility also covers font rendering, focus states, motion and semantics — test with real users and assistive tech.