Toolpuffin

    Loading...

    Up and down to choose, Enter to open, Esc to close.

    How to Check Colour Contrast for Readable Text (WCAG 4.5:1 and 3:1)

    Updated November 2026

    Written by the Toolpuffin team. Tools in this guide are tested in the browser.

    Light grey text on a white background looks neat but is hard to read for many people. WCAG, the web accessibility standard, sets minimum contrast ratios between text and its background. This guide lists the numbers and shows how to check your own colours.

    Try the tool: Contrast Checker

    The numbers to know

    ContentLevel AALevel AAA
    Body text4.5 : 17 : 1
    Large text (18 pt, or 14 pt bold)3 : 14.5 : 1
    Icons, graphs and active interface parts3 : 1Not defined

    Level AA is the usual target. W3C explains the success criterion for normal text, and MDN lists the full set of ratios.

    Source: W3C: Understanding contrast (minimum)

    Source: MDN: Color contrast

    Check your colours

    1. Pick the text colour and the background colour. If you only have an image, use the Colour Picker to get the code.
    2. Enter both in the Contrast Checker.
    3. Read the ratio and whether it passes AA and AAA.
    4. If it fails, use the suggested text colour or darken the text.

    Close is not enough

    A ratio may not be rounded up. WebAIM points out that a common grey, #777777, has a ratio of 4.47:1, which does not meet the 4.5:1 minimum for body text.

    Source: WebAIM: Contrast and color accessibility

    Where it applies

    • Body text, buttons and links on any background colour.
    • Text on top of a photo: check the lightest and darkest parts behind the text.
    • Placeholder text and disabled-looking text that people still need to read.
    • Logos are an exception, but the text around them is not.

    More guides