Free Engineering Workbench calculator

Colour contrast ratio (WCAG)

Check text and interface colours against WCAG contrast requirements.

Open Colour contrast ratio (WCAG) in the live, interactive calculator — type your numbers, see the result instantly.

Open live calculator →
Accessibility & inclusive products

How it's worked out

  • Ratio = (L1 + 0.05) ÷ (L2 + 0.05), with relative luminance L = 0.2126 R + 0.7152 G + 0.0722 B from linearised sRGB
  • sRGB colours, no transparency
NoteLarge text is at least 18 point, or 14 point bold. Non-text interface parts and graphics need 3 : 1 under success criterion 1.4.11.

Source: W3C WCAG 2.2, success criteria 1.4.3, 1.4.6 and 1.4.11

Need help acting on this number?

VVnT SeQuor's Accessibility & Inclusive Product Engineering practice helps teams turn this metric into a plan.

Talk to us →

Related calculators