EYRO COLOR STUDIO

Text and background contrast checker

Check two colors against WCAG contrast thresholds: contrast ratio, normal and large text, AA and AAA. Find a readable text color for your background.

The selection changes the lightness of the HSL while maintaining the initial tone and saturation until rounded in sRGB. The background remains the same.

EYRO SAMPLEColor and meaning

This 16 px text helps you rate a normal paragraph, and readability depends on the font, the size and the viewing conditions.

Large heading
—text-to-background contrast

How to read the result

For normal text, WCAG 2.2 requires at least 4.5:1 at level AA and 7:1 at level AAA. For large text, the thresholds are 3:1 and 4.5:1. Large text is considered to be 18 pt (24 CSS px), or bold from 14 pt (about 18.67 CSS px).

The contrast ratio is calculated from relative luminance in linear sRGB. The number on the screen is rounded, and the decision to pass the threshold is not: #777777 on white gives about 4.48:1 and does not pass AA for normal text.

EYRO example: a soft palette with readable text

Before

Sage #8C9C82 on cream #F5F1E8 creates a soft palette, but the contrast is too low for body text.

After

Dark green #405E48 keeps the palette’s character while improving text contrast.

The tool checks a single opaque pair of sRGB colors. It doesn't evaluate the entire site, focus, element sizes, or the visibility of data without color. HEX with transparency is not supported. For some backgrounds, AAA 7:1 is unattainable even with black and white text - then you need to change the background.

Method and thresholds: WCAG 2.2, Contrast (Minimum)