Color & Accessibility

APCA contrast calculatorfor text on a screen

Compare opaque sRGB text and background colors, then read the signed Lc and a font size reference.

APCA contrast calculator

Foreground color

Contrast result

APCA lightness contrast
Lc 101.5

Dark text on light background

Font size reference

Selected condition: 16px · 400 · Body text

Minimum at selected weight: 15px

Within the reference range

Body text uses at least Lc 75; the table is a reference, not a conformance verdict.

300: 18.5px400: 15px700: 13px

How to read Lc levels

Lc 90: preferred body text

Lc 75: minimum body text

Lc 60: minimum fluent text

Lc 45: minimum large text

Lc 30: minimum any text; not body copy

Lc 15: invisibility point; non-text only

APCA is a draft perceptual contrast method; this result is not WCAG 2.x or WCAG 3 conformance.

Official apca-w3 0.1.9; base algorithm 0.0.98G-4g. For web content on self-illuminated displays. © 2019–2022 Andrew Somers / Myndex.

Calculated locally in your browser. Color values are not uploaded.

Text conditions

Result is current.

A dark design token may work on white yet behave differently when its colors are reversed. This APCA contrast calculator keeps text and background roles explicit so the polarity stays visible.

Use the APCA contrast checker while reviewing a text token. The perceptual contrast value stays the same when you change only font settings; the font lookup explains how to read it.

Why use this APCA contrast calculator

Compare opaque sRGB text and background colors, then read the signed Lc and a font size reference.

Keep the direction of the colors

The APCA contrast calculator returns a positive Lc for dark text on light and a negative Lc for light text on dark. Swap the pair to see why one unsigned ratio cannot describe both directions.

Two opaque color swatches swap text and background roles, changing the sign of the Lc result.

Read Lc beside type choices

A font lookup turns the same color Lc into a minimum reference size for weights 300, 400, and 700. It does not silently change the color result when you select a new size.

A color pair leads to one Lc value and several minimum font sizes for different weights.

Read the result without a false pass label

01

Keep color roles in order

Enter the text color first and the opaque background second. The swap action reverses polarity; a short pause recalculates the current pair.

02

Choose the actual type condition

Set CSS pixels, weight, and body or other readable content. These options change the font reference only, not the calculated Lc.

03

Copy the full context

If auto calculation is off, use Ctrl or Cmd plus Enter. Copy is disabled whenever colors or options change until the current result is ready.

What this one color pair reveals

Signed perceptual contrast

The APCA Lc calculator uses the official apca-w3 sRGB algorithm and preserves the sign for the direction of text against its background.

Reference font lookup

The APCA font lookup reports minimum CSS pixel sizes for three common weights and flags conditions below the reference instead of inventing a WCAG pass.

Reviewable result

A copied summary includes both HEX values, Lc, polarity, size, weight, usage, and the reference interpretation.

The calculation has a defined boundary

One opaque sRGB pair
Only 3- or 6-digit HEX values are accepted. Alpha, gradients, images, and layered backgrounds need additional pixels and cannot be reduced to this pair.
No WCAG 2 ratio conversion
Lc is a signed perceptual contrast value, not a 4.5:1 ratio. Use the separate WCAG checker when an AA or AAA determination is required.
No site-wide certification
This result concerns one text/background pair. It does not inspect links, focus states, other components, or an entire site.
No replacement color promise
The tool shows the current condition; it does not automatically edit brand colors or declare a proposed alternative compliant.

APCA contrast calculator questions

How do you use APCA?

Enter the text color before the opaque background. Read the signed Lc and polarity, then select the actual font size and weight for the reference table.

What is the range of APCA Lc values?

The signed scale runs from near zero for negligible contrast to roughly +106 or -108 for strong opposite polarities. A negative value is a normal light-on-dark result.

Why is there a font lookup table?

The color pair alone produces Lc. The lookup relates that value to minimum reference sizes at different weights; it is guidance for text use, not a change to the formula.

Can I use APCA instead of WCAG 2?

No direct conversion exists between signed APCA Lc and the WCAG 2.x contrast ratio. Check both independently if your work requires a WCAG 2.x decision.

Does APCA replace WCAG compliance checks today?

No. WCAG 3 remains a draft and this single-pair reference is not a WCAG conformance audit. Use the current WCAG 2.x criteria for formal checks.

Found a color pair this checker misreads?

Try the APCA contrast calculator with your colors

Bring the next text/background token into the APCA contrast calculator, keep its polarity and font condition together, then copy the result for review.

APCA is a draft perceptual contrast method; this result is not WCAG 2.x or WCAG 3 conformance.