Contrast Bench WCAG 2 contrast, measured and explained

Specimen

Large text, 24 px. Headings live here.

Bold text, 14 pt. Counts as large too.

Body text, 16 px. This is the size most people read most of the time: on a phone, in daylight, a little tired. If this line is easy, the pair is doing its job.

Small print, 12 px. Captions, timestamps, legal lines.

Control border
0.00 to 1 · contrast ratio

Showing the colours as chosen.

Text colour

Background

In each field, saturation runs left to right and lightness bottom to top. The hatched band is where that colour would fail the selected target against the other colour; the dashed lines are the pass boundary.

Verdict

    Nearest passing

    Contrast is computed with the WCAG 2 formula: each sRGB channel is linearised, relative luminance is 0.2126 R + 0.7152 G + 0.0722 B, and the ratio is (lighter + 0.05) ÷ (darker + 0.05). Ratios are shown rounded down so nothing is overstated. “Large” text means at least 24 px, or about 18.7 px (14 pt) when bold. The simulated-vision views use the published Machado, Oliveira and Fernandes (2009) matrices and are an approximation, not a diagnosis.