Accessibility & A11y ToolsWCAG 3 Beta

APCA Contrast Calculator (WCAG 3 Readability)

APCA (Advanced Perceptual Contrast Algorithm) is the candidate contrast method for WCAG 3. It accounts for spatial frequency, font size, weight, and human photoreceptor non-linearities.

Computed entirely on client device. Zero network telemetry.
Advertisement
Sponsored PlacementGoogle AdSense Integration Ready

How to Use APCA Contrast Calculator

1

Input Colors

Provide foreground text color and background surface color.

2

Select Font Size & Weight

Specify target font size in pixels and font weight (e.g., 400 regular or 700 bold).

3

Evaluate Lc Score

Review the calculated Lc contrast value and minimum recommended text size.

About APCA Contrast Calculator

APCA calculates perceptual contrast using power-law gamma compression (approx 0.56 / 0.62) tailored to human foveal cone response, producing an Lc score that varies based on polarity.

Supported Formats

HEXRGB

Operational Limits

  • APCA is a public working draft algorithm under consideration for WCAG 3.0.

Key Features

  • Candidate WCAG 3 APCA 0.98G algorithm implementation
  • Calculates signed Lightness Contrast (Lc) from -108 to +108
  • Dynamic font size and weight compliance lookup table
  • Light mode and dark mode polarity awareness
  • Direct comparison with legacy WCAG 2.1 contrast ratios

Frequently Asked Questions

WCAG 2.1 uses a simple mathematical ratio that fails on dark mode and thin fonts. APCA models actual human optical perception, font weight, and polarity.
APCA Contrast Calculator – Modern Perceptual Readability | Toolxilla | Toolxilla