Skip to main content

ON ACCESSIBLE - Free WCAG website accessibility scanner and assistive widget

    Free tool

    WCAG color contrast checker

    Test any foreground and background pair against WCAG 2.1 Level AA and AAA — normal and large text.

    Hex color of text or icons

    Hex color behind the text

    Quick presets

    Normal text — The quick brown fox jumps over the lazy dog.

    Large text — Accessibility matters for everyone.

    Contrast ratio

    12.63:1

    WCAG 1.4.3 (AA) · 1.4.6 (AAA)

    Normal text — AA (4.5:1)
    Normal text — AAA (7:1)
    Large text — AA (3:1)
    Large text — AAA (4.5:1)

    Common questions

    What contrast ratio is required for WCAG AA?

    Normal text needs at least 4.5:1. Large text (18pt+ or 14pt bold+) needs at least 3:1. AAA requires 7:1 and 4.5:1 respectively.

    How is contrast ratio calculated?

    Using the WCAG relative luminance formula: (Llighter + 0.05) / (Ldarker + 0.05) where L is computed from sRGB channels.