WCAG Color Contrast Checker

Test foreground and background color combinations according to Web Content Accessibility Guidelines (WCAG 2.1) Level AA & AAA specifications.

Color Inputs

#
#
Quick Sample Presets
Contrast Ratio
17.85 : 1

Excellent — Passes strict WCAG AAA guidelines for all sizes

Small Text (AA)Pass (4.5:1)
Large Text (AA)Pass (3.0:1)
Small Text (AAA)Pass (7.0:1)
Large Text (AAA)Pass (4.5:1)
Live Visual Rendering Preview

Design for Everyone, Everywhere.

Sphinx of black quartz, judge my vow.

Body text sample: High contrast ensures that people with low vision, color blindness, or users viewing screens under direct bright sunlight can read your content without eye fatigue.

Secondary Pill
Web Accessibility & Standards

Understanding WCAG 2.1 Color Contrast Standards

Web Content Accessibility Guidelines (WCAG 2.1 / 2.2) require adequate visual contrast between text characters and their background colors so that individuals with low vision, color blindness, or age-related vision loss can read content effortlessly.

Color contrast ratio is expressed on a scale from 1:1 (lowest contrast, e.g., white text on white background) to 21:1 (highest contrast, e.g., black text on white background). The mathematical formula evaluates the relative luminance of both colors.

Our Color Contrast Checker evaluates real-time ratios against both WCAG AA (minimum baseline) and WCAG AAA (enhanced criteria) for small body text, large display headings, and graphical interface elements.

How to Use WCAG Color Contrast Checker (AA / AAA Compliance)

1

Enter Foreground (Text) Color

Type or paste a 6-digit hex code or choose a color from the native color picker.

2

Enter Background Color

Select your card, surface, or page background color to test the pair.

3

Inspect Contrast Ratio & WCAG Score

Review the calculated ratio score (e.g. 4.5:1, 7.0:1) and the pass/fail indicators for Level AA and AAA.

4

Live Preview Custom Text

Type custom headings and paragraphs into the live typography preview to verify legibility before exporting.

Key Capabilities & Advantages

Precise WCAG 2.1 Formula Engine

Calculates exact relative luminance using sRGB gamma-expanded luminance coefficients.

AA and AAA Tier Breakdowns

Validates normal text (16px), large text (18pt / 24px), and graphical user interface components.

Quick Swap & Color Inversion

Instantly swap foreground and background colors with a single click to test dark mode parity.

Interactive Typography Sandbox

Preview realistic body copy, subheaders, and button elements in real time.

Curated Accessible Presets

Test high-performing accessible color pairings recommended for modern enterprise UI.

Format Specifications & Value Ranges

Standard LevelSmall / Normal TextLarge Text (18pt+ / 14pt bold)UI Elements & Icons
WCAG AA (Minimum)4.5 : 13.0 : 13.0 : 1
WCAG AAA (Enhanced)7.0 : 14.5 : 1N/A (3.0:1 recommended)
Failing / InaccessibleBelow 4.5 : 1Below 3.0 : 1Below 3.0 : 1
Frequently Asked Questions

Frequently Asked Questions About WCAG Color Contrast Checker (AA / AAA Compliance)

What is the difference between WCAG AA and AAA?

Level AA is the globally accepted legal benchmark for most websites, public sector portals, and commercial software. Level AAA is the gold standard offering optimal legibility for users with severe visual impairments.

Does color contrast affect Google Search rankings?

Yes. Google includes accessibility, tap target legibility, and usability signals in Page Experience evaluations and Lighthouse performance audits.

What counts as "Large Text" under WCAG?

Large text is defined as text that is at least 18 point (typically 24px) regular weight, or 14 point (typically 18.66px) bold weight.

Explore Related Design & Color Tools

Speed up your workflow with our full suite of free developer and designer color utilities.