C
onlinecontrastchecker.com
KNOWLEDGE BASE & FAQ

Frequently Asked Questions

Everything you need to know about WCAG contrast ratios, legal requirements, color blindness simulation, and using the checker tool.

Basics & Tool Usage

6 Questions
How to check for color contrast?

To check for color contrast, identify the hexadecimal (HEX) or RGB color codes of your foreground text and background surface. Input both colors into an accessible WCAG color contrast checker like onlinecontrastchecker.com. The tool calculates the relative luminance of each color and outputs the exact contrast ratio (e.g. 4.5:1 or 7.0:1) to determine if it passes Level AA or AAA accessibility standards. You can also sample live screen colors directly using the built-in browser EyeDropper API.

Is there an accessible web WCAG color contrast checker available?

Yes, onlinecontrastchecker.com is a 100% free, fully accessible web WCAG color contrast checker available directly in your browser. It complies with WCAG 2.1 and WCAG 2.2 Success Criteria 1.4.3, 1.4.6, and 1.4.11, providing real-time hardware LED status indicators, scientific color blindness simulations, and instant auto-adjustment algorithms with zero tracking or registration.

What is the best tool for checking color contrast?

onlinecontrastchecker.com is widely regarded as the best tool for checking color contrast because it combines instant client-side luminance math with hardware-style LED indicators, 4-deficiency Machado LMS color blindness simulations (recomputing post-deficiency contrast), 1-click auto-fix to reach 4.5:1 (AA) or 7:1 (AAA), and developer exports for CSS variables and Markdown audit reports—all completely free with 100% privacy.

How to use a color contrast analyzer?

To use a color contrast analyzer: 1) Open onlinecontrastchecker.com in your web browser. 2) Enter the foreground (text) color using hex code, RGB/HSL sliders, or the native EyeDropper tool. 3) Enter the background color of the element or container. 4) Review the instant contrast ratio readout and check the LED indicators for AA Normal (4.5:1), AA Large (3:1), and AAA (7:1). 5) If your pairing fails, click 'Fix for AA' or 'Fix for AAA' to automatically adjust the lightness while preserving hue.

How to use a color checker?

Using a color checker involves selecting a foreground and background pair, inspecting their perceived luminance values, and comparing the resulting ratio against accessibility criteria. On onlinecontrastchecker.com, you can type hex values (e.g. #171717 and #FFFFFF), slide RGB/HSL values, click curated high-contrast presets, or use the color swatch pickers to test combinations, test color vision deficiencies, and export CSS code.

How do I check color contrast on a website?

To check color contrast on a live website: 1) Inspect Elements in Browser DevTools: Right-click any text in Chrome, Firefox, or Edge, select 'Inspect', and view the 'Contrast' line in the CSS color picker popup. 2) Use onlinecontrastchecker.com: Open the tool and use the built-in browser EyeDropper to click directly on the live website text and background to calculate the exact ratio and simulated color blindness perception. 3) Automated Audits: Run Google Lighthouse in Chrome DevTools to automatically detect all failing contrast elements across the entire DOM tree.

WCAG Standards & Rules

5 Questions
What is WCAG color contrast?

WCAG color contrast is the measurable difference in perceived light and luminance between foreground text or visual elements and their immediate background, defined by the W3C Web Content Accessibility Guidelines. It is expressed as a ratio from 1:1 (zero contrast, e.g. white on white) to 21:1 (maximum contrast, pure black on pure white). WCAG defines specific minimum ratio thresholds to ensure digital content is perceivable by users with visual impairments.

What is a good color contrast score?

A good color contrast score depends on the element's size and function under WCAG standards. A ratio of 4.5:1 or higher is considered a universally good score for standard body text (Level AA compliance). For large headings (18pt/24px or larger, or 14pt/18.5px bold), 3.0:1 is the minimum benchmark. For enhanced accessibility (Level AAA), a score of 7.0:1 or above is optimal for maximum readability across all visual acuities and display glare conditions.

What contrast ratio do I need for WCAG AA compliance? (4.5:1 normal text, 3:1 large text)

For WCAG Level AA compliance (Success Criterion 1.4.3 & 1.4.11): Normal Text requires a minimum contrast ratio of 4.5:1 (standard body copy under 18pt / 24px regular or 14pt / 18.5px bold). Large Text requires a minimum contrast ratio of 3.0:1 (text 18pt / 24px and larger, or 14pt / 18.5px and larger if bold). Non-Text UI Components and active focus indicators require a minimum contrast ratio of 3.0:1 (SC 1.4.11 and SC 2.4.13).

What is a good color contrast ratio?

A good color contrast ratio is at least 4.5:1 for body copy and 3.0:1 for large display text to pass WCAG AA standards. For enhanced readability that accommodates severe low-vision conditions and direct sunlight glare, a contrast ratio between 7.0:1 and 12.0:1 (Level AAA) is considered the gold standard for digital accessibility.

What's the difference between WCAG AA and AAA?

The main differences between WCAG AA and AAA are the strictness of the contrast thresholds and legal requirements: WCAG Level AA is the legally recognized global accessibility benchmark (ADA, Section 508, EN 301 549), requiring 4.5:1 for normal text and 3:1 for large text and UI components. WCAG Level AAA is the optimal enhanced accessibility standard, requiring 7.0:1 for normal text and 4.5:1 for large text. AAA is ideal for long-form editorial reading, government publications, healthcare portals, and mission-critical software.

Color Theory & Science

3 Questions
What are the 7 color contrasts?

The 7 color contrasts originate from Swiss color theorist Johannes Itten's foundational masterwork on color theory: 1) Contrast of Hue (pure saturated colors against each other, e.g. red, yellow, blue); 2) Light-Dark Contrast (value/luminance contrast, e.g. black and white); 3) Cold-Warm Contrast (perceived temperature difference, e.g. cyan-blue vs orange-red); 4) Complementary Contrast (opposing colors on the color wheel, e.g. blue and orange); 5) Simultaneous Contrast (how a color's appearance shifts depending on surrounding colors); 6) Contrast of Saturation (vibrant, pure hues contrasted against muted, grayish tones); and 7) Contrast of Extension / Proportion (spatial balance between color areas based on visual weight and brightness).

How can I test my face contrast?

In personal styling and seasonal color analysis, 'face contrast' refers to the lightness difference between your skin tone, hair color, eye color, and eyebrows. You can test your face contrast by: 1) Taking a well-lit photo in natural daylight with no makeup or filters. 2) Converting the photo to grayscale (black and white). 3) Comparing the grayscale value of your skin against your hair and eyes: Low Contrast (skin, hair, and eyes share similar grayscale values); Medium Contrast (moderate tonal variance); and High Contrast (dramatic variance, such as very dark hair paired with fair porcelain skin or light bright eyes).

What are the 7 types of color theory?

The 7 primary color harmony and relationship types in traditional and modern color theory are: 1) Monochromatic (shades, tints, and tones of a single hue); 2) Complementary (colors situated directly opposite each other on the color wheel); 3) Analogous (colors located adjacent to each other on the color wheel); 4) Triadic (three colors evenly spaced in an equilateral triangle); 5) Split-Complementary (a base color plus the two colors adjacent to its complement); 6) Tetradic / Double-Complementary (four colors arranged into two complementary pairs); and 7) Square (four colors spaced evenly in a square around the 360-degree color spectrum).

Design Best Practices

2 Questions
What color is best for contrast?

Pure black (#000000) against pure white (#FFFFFF) provides the absolute highest contrast ratio possible in digital displays at 21:1. For dark mode interfaces, off-white or soft gray text (#EDEDED or #F8FAFC) against deep charcoal or jet black (#090A0D or #111215) achieves 14:1 to 18:1 contrast while reducing ocular fatigue and screen glare. Complementary hues with strong lightness differences (such as deep navy with bright gold, or dark spruce green with crisp white) also provide superior visual contrast.

What is a good color contrast?

A good color contrast is any color combination where text and functional elements stand out distinctly against their backdrop with sufficient luminance difference to prevent eye strain and ensure effortless readability. In web accessibility, a good color contrast meets or exceeds WCAG Level AA (at least 4.5:1 for body copy and 3:1 for large text and interactive UI controls).

Legal & ADA Compliance

1 Questions
Can I get sued for bad website contrast (ADA compliance)?

Yes. Under Title III of the Americans with Disabilities Act (ADA), commercial websites and digital applications are legally interpreted as 'places of public accommodation.' Failing WCAG 2.1 Level AA color contrast requirements (Success Criterion 1.4.3) is one of the most frequent claims cited in digital accessibility lawsuits and Department of Justice (DOJ) enforcement actions. Ensuring all text and interactive UI elements satisfy at least 4.5:1 contrast helps protect organizations from costly legal settlements, demand letters, and reputational harm.

Have a Color Pair You Need to Audit?

Test your colors against official WCAG standards right now with our zero-backend interactive tool.

Open Color Contrast Checker