Your browser is too old for this tool’s interactive features. Please update to Safari 13.1, Chrome or Edge 80, Firefox 74 or newer.

WCAG Contrast Checker

Type HEX (3, 6 or 8 digits), rgb() or hsl(). Text with transparency is graded as it shows on the background.

The quick brown fox jumps over the lazy dog.

Normal text — 16px regular body copy

Large heading text

Large text — about 24px regular, or about 18.5px bold
Contrast ratio (WCAG 2.2)
—
Relative luminance — text: — · background: —
AA Normal (4.5:1)
—
AA Large (3:1)
—
AAA Normal (7:1)
—
AAA Large (4.5:1)
—
UI Components (3:1)
—
Enter a text colour and a background.

Nearest colours that pass

Same hue and saturation, lightness moved only as far as it has to.

Change the text colour
—
Change the background
—

WCAG Contrast Checker by RECATOOLS — free online tools, no signup.