MICRO TOOL DECK
FREE
100% Client-Side • Zero Uploads • Free Forever

APCA (WCAG 3.0) Perceptual Contrast & Token Generator

Compute polarity-aware APCA Lc contrast scores (unlike legacy WCAG 2.1 ratios), verify minimum font size/weight thresholds, and generate accessible CSS theme tokens.

Color Pair & Typography

The quick brown fox jumps over the lazy dog. Accessible typography matters.

APCA Lc Score & Accessible CSS Tokens

How to Use APCA (WCAG 3.0) Contrast Generator

Step 1: Load Input

Pick or type your foreground text color and background surface color.

Step 2: Configure & Run

Set your target font size (px) and font weight.

Step 3: Inspect & Export

Check the polarity-aware APCA Lc score and copy the generated CSS custom properties.

Frequently Asked Questions

Why is APCA better than WCAG 2.1 contrast ratios?

WCAG 2.1 treats light-on-dark and dark-on-light identically and often misscores dark mode. APCA models human perception and font weight/size.

What Lc score do I need for body text?

Body text (16px regular) generally requires at least Lc 60 (ideally Lc 75+), while large headings (24px+) can pass at Lc 45.

Why can Lc scores be negative?

Negative Lc values indicate light text on a dark background (dark mode), and the absolute magnitude determines readability.

Explore Related Tools