WCAG 2.2 Contrast Checker
Pass or fail, the exact ratio, and a one-click fix.
Last updated: November 1, 2026
Pick a color
From anywhere on your screen, straight out of an image, or by typing any CSS color.
The overlay covers the whole screen — including other tabs, apps and images — hover to preview a pixel, click to capture it. Nothing is read or stored until you click, and the picked value is a plain sRGB hex.
Color inspector
Every notation at once — click any row to copy it.
#1D4ED8
Medium vivid cool blue
Best text on this fill
#FFFFFF · 6.70:1
Dark fill — white or a light tint carries body copy here.
Copy it as
tap a box to copyPerceptual (OKLCH)
L*a*b*
39 37 -75
LCh (CIE)
39 83.1 296°
CMYK
87 64 0 15
P3 primaries
0.167 0.413 0.802
Everything in this picker — tap to open
Is it readable? (WCAG 2.2)
Ratio, pass/fail for every threshold, and a fix that changes only lightness so the hue stays yours.
Text
Background
Ratio
6.70:1
ΔL* 61.0 · ΔL(ok) 51.2
The quick brown fox jumps over 13 lazy dogs.
Body copy at 13px — this is the size most interface text ships at, so the AA threshold is the one that matters.
- Body text · AA≥4.5:1
- Body text · AAA≥7:1
- Large text · AA≥3:1
- Large text · AAA≥4.5:1
- UI & icons · AA≥3:1
Passes AA for body text. Readable from about 14px upward, any weight. APCA — the perceptual model proposed for WCAG 3 — is not a legal requirement yet, and rules like the EU Accessibility Act reference WCAG 2.x, so this tool scores against WCAG 2.2 and reports the perceptual lightness gap alongside it.
Everything runs locally: the eyedropper uses your browser's own EyeDropper API, image sampling reads a canvas buffer in this tab, and nothing is uploaded, watermarked or logged.
Quick answer
Put your text color and background in, and the tool scores the pair against WCAG 2.2: 4.5:1 for body text (AA), 7:1 (AAA), 3:1 for large text (24px+, or 18.66px+ bold) and 3:1 for non-text UI elements under 1.4.11. If it fails, Fix to AA walks the text color only along OKLCH lightness until the ratio passes, so your hue and chroma stay put.
About this tool
Contrast is the accessibility check most often faked, because a number that looks fine at a glance is easy to misjudge — mid-tone grays on white fail constantly. The rule is arithmetic rather than taste: relative luminance of each color, then (lighter + 0.05) / (darker + 0.05). This page computes it exactly as WCAG 2.2 defines it, shows every threshold at once instead of a single misleading pass, and marks the minimum comfortable font size for the ratio you have. It also scores the whole palette against itself in a matrix, which is how real design systems fail: not the hero button, but the fifth data series on a light-gray card.
How it works
Three steps, about a minute, no account.
Enter both colors
Paste a hex, use the native picker, or sample them from a screen or image.
Read the verdict
Ratio, pass/fail per threshold and the smallest size it reads well at.
Fix and copy
Adjust to AA if needed, then copy the CSS pair with the ratio in a comment.
Why this version is different
All Five Thresholds
Body AA/AAA, large AA/AAA and non-text UI in one view.
Real-Size Preview
Heading, body, button border and link at your chosen px size.
One-Click Fix
Lightness-only correction to AA or AAA, hue untouched.
Palette Matrix
Every pair scored at once, click a cell to load it.
Perceptual Numbers Too
ΔL* and OKLCH lightness gap beside the ratio for context.
Frequently asked questions
What contrast ratio does WCAG 2.2 require?
4.5:1 for normal text and 3:1 for large text (24px regular or 18.66px bold) under SC 1.4.3; 7:1 for AAA normal text; and 3:1 for user-interface components and graphical objects under SC 1.4.11.
Is APCA or WCAG 3 required instead?
No. APCA is the perceptual model proposed for WCAG 3 and remains a draft, while regulations such as the European Accessibility Act and Section 508 reference WCAG 2.x, and legal exposure comes from WCAG conformance. This tool scores WCAG 2.2 and reports perceptual lightness gap alongside it for context.
Why does my brand color fail on white?
Usually because it is too light: mid-tone oranges, teals and purples land near 2.6-3.6:1 on white. Darkening via OKLCH lightness keeps the identity while clearing 4.5:1, which is exactly what the fix button does.
Does the checker handle opacity?
Composite first: put the translucent color over its background, copy the resulting flattened color, then check that pair. Alpha changes perceived contrast without changing the ratio of either solid.
What about text over images?
Extract the image palette, take its lightest and darkest values, and ensure a scrim keeps your text above 4.5:1 against the darkest of them. The extraction panel gives you those values.
Want the whole workspace instead of this one panel? The full online color picker adds harmonies, tonal scales, extraction, gradients, the mixer and color-blindness checks.
More color tools
Twelve focused versions of the same picker — each one opens on the panel you came for.
More IMAGE Tools
Explore other helpful tools for your workflow
