TARGETROOT
AI ToolsToolsBlog
ToolsColor ToolsWCAG Contrast Checker
Color Tools

WCAG Contrast Checker

Verify that text and UI colors meet WCAG 2.1 accessibility standards. Pick any foreground and background color, see the exact contrast ratio, and instantly know whether it passes AA or AAA for normal and large text. One-click adjust buttons lighten or darken a color until it reaches a 4.5:1 ratio.

#contrast checker#wcag contrast checker#color contrast checker#accessibility checker#contrast ratio
Quick Info
  • Browser-based
  • Instant results
  • Free — No signup
Check Contrast

How to use WCAG Contrast Checker

1

Enter two colors

Set a foreground (text) and a background color.

2

Read the verdict

See the ratio and whether it passes WCAG AA/AAA for normal and large text.

3

Fix it fast

Use the lighten/darken buttons to nudge a color to a passing ratio.

WCAG contrast checker

Foreground (text)

relative luminance L = 0.0133

Background

relative luminance L = 1.0000

Result

Aa

The quick brown fox jumps over the lazy dog. This text sample shows how the pair reads in real use.

16.58: 1 contrast ratio

AAA — passes WCAG AAA (exceeds by 1.5+)

Normal textAAA
Large text (18pt+) & UIAAA

AA needs ≥ 4.5:1 (normal) or ≥ 3:1 (large). AAA needs ≥ 7:1 (normal) or ≥ 4.5:1 (large).

Accessibility tips

Don't rely on color alone

Always pair color with icons, text or patterns — color-blind users may not distinguish color-coded states.

Test on both ends

The same text color may pass on white but fail on a brand-colored background. Check every pairing you ship.

Large text gets a pass

WCAG requires less contrast for large (≥18pt or ≥14pt bold) text and UI components: 3:1 instead of 4.5:1.

Use the adjust buttons

One click lightens or darkens a color just enough to reach a 4.5:1 ratio, so you can fix pairs fast.

Key Features

  • Exact WCAG 2.1 contrast ratio
  • AA and AAA pass/fail for normal and large text
  • Relative luminance readout for each color
  • One-click adjust to reach 4.5:1
  • Realistic text preview
  • Accessibility tips built in

Common Use Cases

  • Ensure body text meets WCAG AA before launch
  • Audit brand color combinations for accessibility
  • Pick accessible button and link colors
  • Comply with ADA and similar accessibility regulations

Explore Related Tools & Guides

Free Tool

Color Converter

Free online color converter — convert HEX, RGB, HSL, HSV, CMYK, XYZ, LAB and more instantly with liv

Free Tool

HEX to RGB Converter

Convert HEX to RGB color values instantly. Free online HEX to RGB converter with live preview, copy

Free Tool

RGB to HEX Converter

Convert RGB to HEX color values instantly. Free online RGB to HEX converter with live preview, copy

Free Tool

HEX to HSL Converter

Convert HEX to HSL color values instantly. Free online HEX to HSL converter with live preview, copy

Free Tool

HSL to HEX Converter

Convert HSL to HEX color values instantly. Free online HSL to HEX converter with live preview, copy

Free Tool

RGB to HSL Converter

Convert RGB to HSL color values instantly. Free online RGB to HSL converter with live preview, copy

Free Tool

HSL to RGB Converter

Convert HSL to RGB color values instantly. Free online HSL to RGB converter with live preview, copy

Free Tool

HEX to HSV Converter

Convert HEX to HSV color values instantly. Free online HEX to HSV converter with live preview, copy

Technical Details

Standard: WCAG 2.1 (AA 4.5:1 normal / 3:1 large, AAA 7:1 / 4.5:1)
Method: Relative luminance (sRGB linearization)
Processing: 100% client-side

Related Tools

View All
color

Color Converter

Free online color converter — convert HEX, RGB, HSL, HSV, CMYK, XYZ, LAB and more instantly with live preview and batch mode.

Free Tool
color

HEX to RGB Converter

Convert HEX to RGB color values instantly. Free online HEX to RGB converter with live preview, copy buttons, and batch support.

Free Tool
color

RGB to HEX Converter

Convert RGB to HEX color values instantly. Free online RGB to HEX converter with live preview, copy buttons, and batch support.

Free Tool
color

HEX to HSL Converter

Convert HEX to HSL color values instantly. Free online HEX to HSL converter with live preview, copy buttons, and batch support.

Free Tool
TARGETROOT

Free online web tools and AI tools directory. Client-side processing, no sign-up required. Your data stays private.

Platform

  • Tools
  • AI Tools
  • Blog

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

Quick Access

  • JSON Formatter
  • Image Compressor
  • JSON to XLSX
  • QR Code Generator

© 2026 TARGETROOT. All rights reserved.

Built for privacy-first web tools