WSS
Web Specification Studio Home

Dual-Standard Contrast & Perception Lab

Evaluate color contrast using the normative WCAG 2.2 relative luminance formula alongside the candidate WCAG 3 APCA perceptual algorithm. Includes live color vision deficiency simulation and font-size recommendations.

Current contrast ratio is 19.25:1. Passes WCAG 2.2 Level AA and AAA.

Color Inputs

L: 0.0045
L: 1

Color Vision Deficiency Simulation

Simulates how this combination appears to users with different forms of color perception.

Color Vision Deficiency Modes

Note: Matrix transforms approximate average perceptual loss and cannot replace qualitative user testing.

Live Rendering SandboxNormal Vision

The quick brown fox jumps over the lazy dog.

Web standards ensure content remains legible and accessible across all devices and environmental conditions. Visual hierarchy depends on perceivable contrast differences.

14px Regular14px Bold

WCAG 2.2 Conformance (Ratified Standard)

Normative W3C Recommendation & legal compliance metric.

19.25:1Contrast Ratio
Normal Text
Level AA (4.5:1)PASS
Level AAA (7.0:1)PASS
Large Text
Level AA (3.0:1)PASS
Level AAA (4.5:1)PASS
UI & Graphics
SC 1.4.11 (3.0:1)PASS
Borders, icons, controls

WCAG 3 / APCA Analysis (Research Candidate)

Non-Normative

Perceptual algorithm modeling human vision, spatial frequency, and display polarity.

Lc 105.6Standard Polarity
Standard Distinction: APCA is an experimental candidate model developed for WCAG 3. It is not an approved legal substitute for WCAG 2.0, 2.1, or 2.2 Level AA compliance requirements.

APCA Recommended Minimum Font Sizes by Weight

Font WeightMin SizeUsability Guidance
Light (300)18pxRecommended
Regular (400)14pxRecommended
Medium (500)13pxRecommended
Semi-Bold (600)12pxRecommended
Bold (700)12pxRecommended
Black (900)12pxRecommended
Human Vision Reality

Why Mathematical Contrast Ratios Fail Real Human Eyes

The WCAG 2.2 relative luminance formula relies on static sRGB coefficients established in the late 1990s. Human eyes do not perceive color through static division: our photoreceptors adapt dynamically based on spatial frequency, font thickness, and background intensity.

Case Study 1Foveal Blue Deficit

Pure Blue on Black Surface

WCAG 2.2 Ratio: 2.44:1 (Passes UI Component Threshold)

The Optical Problem: Less than two percent of retinal cone photoreceptors in the central fovea are S-cones (blue sensitive). When users stare directly at thin blue text on dark screens, the central vision area experiences a biological blindspot.

How APCA Evaluates It: APCA calculates this as Lc 14, an immediate rejection for all text and iconography, protecting readers from extreme optical fatigue.

Case Study 2Dark Mode Halation

Pure White on Pitch Black

WCAG 2.2 Ratio: 21:1 (Maximum Theoretical Contrast)

The Optical Problem: In a dark environment, human pupils dilate to capture light. Unfiltered high-luminance pure white text on pitch black causes light to scatter across the cornea, creating visual ghosting and halos for 33 percent of people with astigmatism.

The Solution: Professional design systems cap dark mode contrast between Lc 75 and 85, pairing soft off-white text with deep charcoal surfaces.

Implementation Guide

Semantic Color Token Architecture for Design Systems

Leading design systems bridge the gap between WCAG 2.2 legal requirements and APCA visual comfort by establishing explicit Lc target bands for design tokens.

Token NameTarget UsageAPCA Lc BandWCAG 2.2 Baseline
text-primaryEditorial body copy, data tables, primary interface controls.Lc 75 to 90Minimum 4.5:1 (Level AA)
text-secondaryMetadata, breadcrumbs, supporting captions, input hints.Lc 60 to 75Minimum 4.5:1 (Normal) or 3:1 (Large)
border-interactiveText input borders, radio outlines, custom checkbox rings.Lc 45 to 60Minimum 3.0:1 (SC 1.4.11)
surface-disabledInactive buttons, disabled options, non-interactive placeholders.Under Lc 30Exempt from minimums
Knowledge Base

Frequently Asked Questions

Concise answers regarding visual science, dark mode perception, and contrast compliance.

Why do some colors pass WCAG 2.2 contrast but remain unreadable?
WCAG 2.2 calculates contrast using a flat luminance ratio that ignores human eye biology. The human fovea has very few blue photoreceptors, and human vision perceives light text on dark backgrounds differently than dark text on light surfaces.
What causes the halation effect in dark mode interfaces?
Halation occurs when high-luminance pure white text on pitch black backgrounds bleeds into surrounding pixels. This causes severe eye strain and blurry ghosting for approximately 33 percent of people with astigmatism.
How does APCA calculate text contrast differently than WCAG 2?
APCA uses dynamic power functions modeling spatial frequency, font weight, and display polarity. Instead of a single static ratio, APCA generates a Lightness Contrast (Lc) score that specifies minimum readable font sizes per font weight.
Is APCA required for legal web accessibility compliance?
No. WCAG 2.1 and 2.2 Level AA remain the sole legally recognized standards under ADA Title III, Section 508, and EN 301 549. APCA is a candidate model for WCAG 3, best used to enhance modern design systems.