Skip to main content

WCAG Contrast Checker

Check color contrast for accessibility compliance

Foreground (Text)

Background

Preview

The quick brown fox jumps over the lazy dog

Large Text Example

Contrast Ratio

21:1Passes AAA for all text

Normal Text

Regular text (under 18pt or 14pt bold)

AAMin 4.5:1✓
AAAMin 7:1✓

Large Text

18pt and larger, or 14pt bold and larger

AAMin 3:1✓
AAAMin 4.5:1✓

About WCAG

WCAG (Web Content Accessibility Guidelines) defines contrast ratios to ensure text is readable for people with visual impairments.

  • AA - The level most accessibility standards ask for
  • AAA - Enhanced contrast for better accessibility

How this pair looks with color blindness

An approximate simulation. Colors shift in brightness, so the ratio under each preview may differ from the WCAG ratio above; WCAG compliance is judged on the original colors. To check a whole image or your camera, open the Color Blindness Simulator. Text over a photo or a screenshot? Use the Image Contrast Checker.

  • Sample text Aa

    Protanopia

    21.00:1 after simulation

  • Sample text Aa

    Deuteranopia

    21.00:1 after simulation

  • Sample text Aa

    Tritanopia

    21.00:1 after simulation

  • Sample text Aa

    Achromatopsia

    21.00:1 after simulation

Frequently Asked Questions

What is WCAG AA contrast ratio?
WCAG AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (18pt or 14pt bold). This ensures content is readable for users with moderate visual impairments.
What is WCAG AAA contrast ratio?
WCAG AAA (enhanced level) requires a contrast ratio of 7:1 for normal text and 4.5:1 for large text. AAA compliance provides the highest level of accessibility for users with severe visual impairments.
How do I check color contrast for accessibility?
Enter your foreground (text) color and background color in the WCAG Contrast Checker. The tool instantly calculates the contrast ratio and shows whether your colors pass AA and AAA standards.
What contrast ratio do I need for my website?
Most websites should meet WCAG AA (4.5:1 for text). Accessibility laws and standards that reference WCAG, such as Section 508 in the US and EN 301 549 in the EU, ask for level AA; AAA (7:1) is a stricter target. Our contrast checker shows pass/fail for both levels simultaneously.

Sources

  1. W3C (2018, current edition 6 May 2025). Web Content Accessibility Guidelines (WCAG) 2.1: definitions of relative luminance and contrast ratio, success criteria 1.4.3 and 1.4.6. Link