Color Contrast Checker (WCAG)

Check text and background colour contrast against WCAG 2.2 AA and AAA, with a fix suggestion.

Runs instantly in your browser — results update as you type.

What is a good colour contrast ratio?

Colour contrast ratio measures how different the brightness of text and its background is, from 1:1 (no contrast) to 21:1 (black on white). WCAG requires at least 4.5:1 for normal text and 3:1 for large text.

How to use the Color Contrast Checker (WCAG)

    Frequently asked questions

    Is light grey text on white accessible?

    Usually not: #aaaaaa on white is only 2.3:1. #767676 is the lightest grey that passes AA (4.54:1).

    Which colour formats can I enter?

    Any CSS colour: HEX, rgb(), hsl() or names.

    Is WCAG contrast a legal requirement?

    Many accessibility laws (such as the European Accessibility Act and ADA cases in the US) reference WCAG AA.