Image Contrast Checker

Click any two points in an image to check WCAG contrast — AA, AAA, large-text thresholds. Built for designers verifying real screenshots, not just hex codes.

Clicking the image alternates between Foreground and Background samples.
🔒 Files never leave your browser — no upload, no server, no tracking.
No image yet.
Foreground (next click)
Background
Sample two colours to see the contrast ratio.

What is this for?

Standard WCAG contrast checkers require you to input hex codes or RGB values — but when you're auditing a real design, you don't have those values. You have a screenshot, a rendered UI, a logo on a photograph. This tool lets you upload an image and click any two points to sample their actual rendered colours, then compute the WCAG 2.1 contrast ratio between them. It shows you pass/fail verdicts for AA, AA-large, AAA, AAA-large, and the non-text UI components threshold (1.4.11), all in your browser.

When to use it

How it works

How sampling radius affects your results

A 1-pixel sample is mathematically precise but picks up anti-aliasing, JPEG compression artefacts, and subpixel rendering noise. For most designed UI, use a 5×5 average — it returns the colour a human eye would perceive, not the noise of the exact pixel. Use 1 pixel when you're checking a crisp edge, a logo boundary, or a colour that's supposed to be exact (e.g. a brand colour swatch). The 3×3 option is a compromise for medium-precision checks.

Common gotchas