Toolnova
Color & Design

Color Contrast Checker

Check the WCAG contrast ratio between any two colors and instantly see whether your text meets AA and AAA accessibility standards for normal and large text.

  • 100% free
  • No signup
  • Private — in your browser
  • No watermark
Live tool · runs in your browser
Highlights

Why use Color Contrast Checker?

  • Calculates the exact WCAG 2.1 contrast ratio using the official relative luminance formula
  • Shows pass/fail results for all four criteria: AA and AAA for normal and large text
  • Live text preview renders sample copy in your chosen colors so you can judge readability visually
  • Free, private and instant — everything runs in the browser with no server involved
Overview

About Color Contrast Checker

Color contrast is a cornerstone of web accessibility. The Web Content Accessibility Guidelines (WCAG 2.1) require a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text at the AA level, rising to 7:1 and 4.5:1 for the stricter AAA level. Insufficient contrast makes content difficult or impossible to read for people with low vision or color blindness. This tool calculates the relative luminance of both colors using the official WCAG formula and reports the ratio instantly.

The checker displays a live text preview using your chosen foreground and background colors, so you can see exactly how readable the combination looks before committing to it. All four WCAG criteria — AA normal, AA large, AAA normal, AAA large — are shown in a clear pass/fail table. The tool runs entirely in your browser for free, with no data sent anywhere.

Step by step

How to use Color Contrast Checker

  1. 1

    Set your colors

    Click the color swatches or type HEX codes for the foreground (text) color and the background color. The contrast ratio updates immediately.

  2. 2

    Read the live preview

    The preview panel below shows sample text rendered in your exact color combination, giving you a real-world sense of readability.

  3. 3

    Check the WCAG results

    Review the pass/fail table for AA and AAA compliance across normal and large text sizes. Adjust your colors until all required criteria pass.

FAQ

Frequently asked questions

What contrast ratio do I need to pass WCAG AA?

For WCAG 2.1 Level AA you need a ratio of at least 4.5:1 for normal text (below 18pt or 14pt bold) and 3:1 for large text (18pt or larger, or 14pt bold or larger).

What is the difference between WCAG AA and AAA?

AA is the standard required for most legal accessibility compliance (e.g. ADA, EN 301 549). AAA is the enhanced level with higher thresholds (7:1 for normal text, 4.5:1 for large text) — it is recommended as a best-practice target but not legally mandated for all content.

What counts as "large text" in WCAG?

Large text is defined as at least 18pt (approximately 24px) in normal weight, or at least 14pt (approximately 18.67px) in bold weight. Text below these sizes is evaluated against the stricter normal-text thresholds.

Does this tool check contrast for UI components and icons?

WCAG 1.4.11 (Non-text Contrast) requires a 3:1 ratio for UI components and graphical elements. This tool focuses on text contrast (WCAG 1.4.3 and 1.4.6), but the same contrast ratio can be used as a reference for non-text elements.

Why does the contrast ratio sometimes differ from other tools?

All correctly implemented tools should give the same result for valid HEX inputs. Minor rounding differences (e.g. 4.48 vs 4.49) can occur depending on how many decimal places are used internally — these are not meaningful for compliance purposes.

Is my color data private?

Yes. All calculations happen locally in your browser. No color values, results or any other data are sent to a server.

Related color & design

See all color & design

Browse more free tools

Explore every category in our toolbox.