sRGB Contrast Check

Accessible design

WCAG 2.2 text color contrast checker

Check solid foreground and background sRGB colors against WCAG 2.2 text contrast thresholds without rounding the pass/fail decision. Enter your actual values and compare the results.

Your inputs

Enable JavaScript to calculate.

Worked example

Black on white has a 21:1 contrast ratio. #767676 on white is approximately 4.54:1 and meets the AA ordinary-text threshold; #777777 on white is about 4.48:1 and does not.

Read the method, sources and limitations.