ASAPUtils Logo ASAPUtils

Color Contrast Checker (WCAG)

Free online color contrast checker for WCAG accessibility. Test foreground and background colors, see the exact contrast ratio, and check AA and AAA pass or fail for normal and large text. Live preview, 100% in your browser.

17.40:1
Contrast ratio
Large preview textThe quick brown fox jumps over the lazy dog.
AA — Normal text✓ Pass
AA — Large text (18pt+/14pt bold)✓ Pass
AAA — Normal text✓ Pass
AAA — Large text✓ Pass
AA — UI components & graphics✓ Pass

Ratios follow WCAG 2.1. The minimums are 4.5:1 for normal text and 3:1 for large text (AA), rising to 7:1 and 4.5:1 for AAA. UI components and meaningful graphics require at least 3:1.

100% in your browser — nothing is uploaded.

What is the Color Contrast Checker?

Color contrast is the difference in brightness between text and its background. If that difference is too small, text becomes hard or impossible to read — especially for the millions of people with low vision or color blindness. The Web Content Accessibility Guidelines (WCAG) turn this into a measurable contrast ratio with specific minimums websites must meet.

The Color Contrast Checker by ASAPUtils.com measures that ratio instantly. Choose a text color and a background color and it shows the exact ratio plus a clear pass/fail against every WCAG threshold — AA and AAA, for normal text, large text, and UI components — with a live preview so you can see the result, not just the number.

How to Use

  1. Set the text (foreground) color and background color using the color pickers or by typing a hex value like #1a1a1a.
  2. Read the contrast ratio (for example 12.6:1) shown alongside a live preview of real text on that background.
  3. Check the WCAG badges: AA and AAA for normal and large text, plus the 3:1 requirement for UI components and graphics.
  4. Use the swap button to reverse foreground and background — useful when checking both light and dark variants of a design.

Use Cases

Designers and frontend developers use it while choosing brand and UI colors to guarantee the result is legible and legally compliant. Accessibility (a11y) is a requirement under standards like the ADA, Section 508, and the European Accessibility Act, and failing color contrast is one of the most common — and most easily fixed — audit findings. Checking a text/background pair before it ships avoids costly rework later.

It is also a fast debugging tool during development. When an automated audit (Lighthouse, axe, WAVE) flags a low-contrast element, drop the two colors in here to find exactly how far below the threshold you are and iterate until the badge turns green. Pair it with our Color Picker to explore accessible alternatives and HEX to RGB to convert values for your stylesheet.

Why Use This

Every calculation happens in your browser using the official WCAG 2.1 relative-luminance formula, so the numbers match what accessibility auditors report. No color values are transmitted, which means you can check unreleased brand palettes freely.

Rather than a single number, the tool maps the ratio onto the thresholds that actually appear in accessibility requirements, so you know at a glance whether a combination is safe for body copy, only acceptable for large headings, or fails outright. The live preview closes the loop by letting you confirm the reading experience with your own eyes.