# APCA

APCA, the Accessible Perceptual Contrast Algorithm, scores the contrast of text against its background as Lc, from about −108 to 106, and the sign carries the polarity: dark text on a light background is positive, light text on a dark one negative. Meadowstack reads text contrast in Lc and keeps WCAG 2's 4.5:1 as a floor under it.

Checked 1 December 2026. By Bohuslav Poláček. https://meadowstack.com/glossary/apca/

*The kit's text colours on its page colours, measured in APCA and WCAG 2 when the site was built.*

| Text token on background | Theme | APCA | WCAG 2 | Carries |
| --- | --- | --- | --- | --- |
| fg on surface (website page) | Light | Lc 103.6 | 16.67:1 | All text |
| fg-muted on surface (website page) | Light | Lc 87.0 | 7.77:1 | All text |
| fg-subtle on surface (website page) | Light | Lc 77.5 | 5.51:1 | All text |
| fg on canvas (app page) | Light | Lc 100.2 | 15.88:1 | All text |
| fg-muted on canvas (app page) | Light | Lc 83.6 | 7.40:1 | All text |
| fg-subtle on canvas (app page) | Light | Lc 74.1 | 5.25:1 | Text from 14px |
| fg on surface (website page) | Dark | Lc −95.3 | 15.87:1 | All text |
| fg-muted on surface (website page) | Dark | Lc −77.9 | 12.18:1 | All text |
| fg-subtle on surface (website page) | Dark | Lc −62.9 | 9.31:1 | Text from 14px |
| fg on canvas (app page) | Dark | Lc −95.7 | 16.64:1 | All text |
| fg-muted on canvas (app page) | Dark | Lc −78.3 | 12.77:1 | All text |
| fg-subtle on canvas (app page) | Dark | Lc −63.3 | 9.76:1 | Text from 14px |

Computed when the site was built from the kit's colour tokens (Meadowstack kit, packages/kit/src/tokens), with APCA-W3 0.0.98G-4g. Light text on a dark page reads as a negative Lc; its size is what counts.

## Why it matters in an app

Business apps run on small text: a table at 13px, a meta line at 12px. WCAG 2's ratio gives a pair of colours one number whatever the size and weight of the text. APCA's Lc is read against size and weight, so the same grey can be fine for a 24px heading and too faint for a 12px label.

## How Meadowstack uses it

The rule, decision 0014: text under 14px needs Lc 75, text from 14px Lc 60, text from 24px or from 16px at weight 550 Lc 45, and nothing goes below WCAG's 4.5:1. It holds in every state and both themes, hover included. The table above measures the kit's own text colours against it, so a change to a token shows here on the next build.

## Mistakes to avoid

- **Swapping the colours**: APCA is not symmetric, so the text colour goes first.
- **Reading the sign as a score**: light text on a dark page gives a negative Lc. Compare the size of the number.
- **Checking the resting state only**: hover, selected and disabled rows change the background under the text.

## Questions

### Is APCA part of WCAG 2.2?

No. WCAG 2.2 measures text contrast as a ratio: 4.5:1 for text and 3:1 for large text. APCA is still being evaluated as a replacement for that maths, so Meadowstack keeps 4.5:1 as a floor and reads Lc on top of it.

### Which Lc does Meadowstack require for text?

Lc 75 under 14px, Lc 60 from 14px, and Lc 45 from 24px or from 16px at weight 550, never below a 4.5:1 ratio.

### Why is light text on a dark page negative?

APCA keeps the polarity in the sign: dark text on a light background gives a positive Lc, light text on a dark one a negative Lc. Compare the size of the number, not its sign.

## Sources

- [APCA-W3 on GitHub (Myndex)](https://github.com/Myndex/apca-w3), checked 1 December 2026
- [WCAG 2.2, 1.4.3 Contrast (Minimum)](https://www.w3.org/TR/WCAG22/#contrast-minimum), checked 1 December 2026

## Related

- [Contrast in business apps: what an audit of our demo found, and how we fixed it](https://meadowstack.com/blog/contrast-in-business-apps/) (Blog)
- [Contrast ratio](https://meadowstack.com/glossary/contrast-ratio/) (Glossary)
- [Dark mode](https://meadowstack.com/glossary/dark-mode/) (Glossary)
- [Business app UI check](https://meadowstack.com/tools/ui-check/) (Tools)
- [Contrast checker: APCA and WCAG 2](https://meadowstack.com/tools/apca-contrast-checker/) (Tools)
- [The business app UI standard, with the numbers behind each rule](https://meadowstack.com/blog/business-app-ui-standard/) (Blog)
