DevBento logoDevBento
Tools/WCAG Color Contrast Checker

WCAG Color Contrast Checker

Check foreground and background color pairs against WCAG 2.x and APCA standards. Get live text previews, pass/fail ratings, and accessible color suggestions.

#1a202c
#ffffff
Contrast Ratio16.32:1
AANormalAALargeAAANormalAAALarge
APCALc 97Excellent
Preview

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

ButtonInput field
Send to:
Related Conversions
Button Color Contrast Accessibility WCAG Checker
Check if your button colors meet WCAG contrast requirements. Test CTA foreground and background color pairs for AA and AAA compliance in your browser.
Dark Mode Color Contrast Accessibility Checker
Check if your dark mode colors meet WCAG AA contrast requirements. Test foreground and background pairs for readability in dark themes.
Placeholder Text Contrast Ratio WCAG Checker
Check if your input placeholder text meets WCAG contrast requirements. Light gray placeholders are one of the most common accessibility failures on the web.
Related Tools
rgbColor Converter + Palette
Convert colors to test contrast
cssCSS Gradient Generator
Check gradient accessibility

WCAG Color Contrast Checker

Check any foreground and background color pair against WCAG 2.x and APCA contrast standards. Get real-time pass/fail ratings, live text previews at multiple sizes, and smart suggestions for accessible alternatives when your colors fail.

How to Use

  1. Click the foreground color chip or type a hex value to pick your text color
  2. Click the background color chip or type a hex value to pick your background
  3. Read the contrast ratio and WCAG/APCA ratings
  4. If colors fail, click a suggestion to apply an accessible alternative

WCAG 2.x Contrast Levels

Level Normal Text Large Text UI Components
AAA 7:1 4.5:1 7:1
AA 4.5:1 3:1 3:1
Fail Below 3:1 Below 3:1 Below 3:1

Large text is defined as 18px (14px bold) or larger. UI components include buttons, input fields, icons, and form controls.

APCA Lc Rating

APCA uses a signed contrast value (Lc) instead of a ratio. Positive values mean dark text on light backgrounds. Negative values mean light text on dark backgrounds.

Lc Range Rating Use Case
75+ Excellent Body text, any size
60-74 Good Body text, small text
45-59 Acceptable Large text only
30-44 Poor Decorative text only
Below 30 Very Poor Do not use for text

Common Use Cases

Design system color auditing

Run your brand palette through the checker. Test your primary text color against every background variant in your system. Document which pairs pass AA and which need adjustments.

Dark mode migration

Dark mode inverts your contrast relationships. A color pair that passes in light mode often fails in dark mode. Use the swap button to quickly test both directions.

Email and marketing templates

Email clients render colors differently. Test your email text colors against common email background colors (white, light gray, brand tints) to catch accessibility issues before sending.

Tips for Improving Contrast

🔒

Nothing you paste leaves this tab. Every tool runs entirely in your browser — no upload, no server, no account.

© 2026 devbento.dev · built local-first