What is APCA? A guide to the contrast method

Updated

16

min read

The letters APCA on four white cards, each a lighter grey, labelled Lc 90, Lc 75, Lc 60 and Lc 45. Two cursors point at the C: one reads 3.28:1, the other Lc 60.1. Underneath: Accessible Perceptual Contrast Algorithm.

APCA (Accessible Perceptual Contrast Algorithm) scores how easy text is to read on its background. It gives one number, the Lc score, and a bigger number means more contrast. Andrew Somers at Myndex Research made it. APCA isn’t part of WCAG 2 (the Web Content Accessibility Guidelines), and it isn’t in the draft of WCAG 3 (see Is APCA part of WCAG?). WCAG 2.2 AA is still the standard to meet, so use APCA as a second check alongside it.

What is APCA?

APCA is a way to score how readable text is on its background. It gives each pair of colours one number, the Lc score. Unlike the WCAG 2 contrast ratio, APCA gives a different score when you swap the text and background colours (see polarity).

A worked example with mid grey and white, both ways round. The two colours are a mid grey #767676 and white #FFFFFF.

  1. Score grey text on a white background with WCAG 2, then with APCA.

  2. Swap the colours, so the text is white and the background is grey.

  3. Score the swapped pair with both methods.

  4. Drop the minus sign on the swapped APCA score (polarity).

  5. Compare both APCA scores with Lc 75, APCA’s minimum for paragraphs (see which score you need).

Text on background

WCAG 2

APCA

Body text verdict in APCA

Grey text on white

4.54:1

Lc 71.6

Fails, under Lc 75

White text on grey

4.54:1

Lc -77.0

Passes, over Lc 75

WCAG 2 can’t tell the two apart. APCA says white text on this grey is easier to read than grey text on white.

#767676 on white and white on #767676 both score 4.54:1 in WCAG 2 and pass. APCA scores grey text on white Lc 71.6, a fail for body text, and white text on grey Lc −77.0, a pass.

One grey token in two roles

What does APCA stand for?

APCA stands for Accessible Perceptual Contrast Algorithm. You’ll also see Advanced Perceptual Contrast Algorithm, the old name, which is still at the top of APCA’s reference code. Both names are trademarks of Myndex Research and Andrew Somers, and both mean the same method.

What is colour contrast, and why does it matter?

Colour contrast is the difference in lightness between text and its background. It matters because people need to be able to read your content. Low vision, colour vision differences, ageing eyes and bright sunlight all make low contrast text harder to read. The W3C set WCAG 2’s 4.5:1 minimum to allow for the contrast people lose as they age (how WCAG 2 measures).

APCA exists to fix three gaps in WCAG 2’s maths.

  • WCAG 2 gives the same number whichever colour is the text (polarity).

  • Myndex says it overstates contrast for dark colours, so a pair can pass 4.5:1 near black and still be hard to read in dark mode (polarity).

  • It has only two text sizes, normal and large, and the APCA docs say a ratio that leaves out size and weight isn’t much use (size and weight).

Definition

Luminance is how light or dark a colour is, on a scale from 0 (the darkest black) to 1 (the lightest white). Contrast checkers start from it.

WCAG 2 and APCA both start from luminance. WCAG 2 divides one colour’s luminance by the other’s (how WCAG 2 measures). APCA adjusts each one to match how people see, then takes one from the other (how APCA measures). Neither method looks at hue, and Somers, who made APCA, says hue and saturation play little part in how readable text is.

The sentence “People need to read this sentence.” five times on white, in black and then in four greys that get lighter down to #C7C7C7. An open eye on a green badge marks the top as easy to read, and a closed eye on a red badge marks the bottom as hard to read.

Less contrast, harder to read

How WCAG 2 measures contrast (the 4.5:1 rule)

WCAG 2 gives every pair of colours one number, the contrast ratio, from 1:1 (no difference) to 21:1 (black on white). At level AA, text needs at least 4.5:1. Large text, at least 18pt or 14pt bold, only needs 3:1.

Definition

The contrast ratio compares the lighter colour’s luminance with the darker one’s. It never asks which colour is the text, so swapping them gives the same number (polarity).

The 3:1 starting point comes from two older display standards, ISO-9241-3 and ANSI-HFES-100-1988. The W3C made it 1.5 times stricter to allow for weaker eyesight, which gives 4.5:1. The W3C says that level of eyesight, called 20/40 vision, is typical at around age 80.

The grey from the swap example scores 4.54:1 on white, so as 16px body text it passes level AA. #767676 is the lightest neutral grey that passes on white. One step lighter, #777777 scores 4.48:1 and fails. WCAG 2 doesn’t allow rounding up, so even 4.499:1 fails.

The WCAG 2 contrast ratio as a bar from 1:1 to 21:1, with a break in the long last section. Below 3:1 is striped: no text passes. From 3:1 to 4.5:1 is light green: large text passes. From 4.5:1 to 21:1 is darker green: body text passes.

WCAG 2’s contrast thresholds

How APCA measures contrast (the Lc score)

APCA gives a pair of colours a score called Lc, short for lightness contrast. Lc 0 means no contrast, and the further the score is from zero, the more contrast there is. Dark text on a light background scores from 0 up to about Lc 106. Light text on a dark background scores from 0 down to about Lc -108 (white on black), and the minus sign only shows which way round the colours are (polarity).

Definition

Lc is how far apart two colours are in how light or dark they look.

A worked example with black text on white. Black text on a white background is the default in browsers and in Figma.

  1. Score it with WCAG 2. You get 21:1, the top of the WCAG 2 scale.

  2. Score it with APCA. You get about Lc 106, the top of APCA’s scale for dark text on a light background.

  3. Compare them with the minimums for paragraphs, 4.5:1 in WCAG 2 (how WCAG 2 measures) and Lc 75 in APCA (which score you need).

Black on white passes both with lots to spare, and every other pair of dark text on a light background scores lower.

The scale is meant to match what people see. Lc 60 should look like the same amount of contrast whether the colours are pale or dark. And halving the score roughly halves the contrast people see, so Lc 45 looks like about half the contrast of Lc 90.

APCA doesn’t treat the two colours the same way. It adjusts the text colour one way and the background colour another, to match how people see, and then takes one from the other. So the same grey scores differently depending on its job, as the grey at the top of this page shows.

Two curves on a graph of luminance, from black to white, against the lightness APCA uses. The solid as-text curve sits above the dashed as-background curve. #6F6F6F sits at 0.32 as text and 0.27 as background. It scores Lc 74.8 as text on white and Lc −80.2 as a background under white.

How APCA adjusts one grey two ways

The graph uses #6F6F6F, a slightly darker grey than the one at the top of this page, and it shows the same split. It scores Lc 74.8 as text on white, a whisker under the Lc 75 minimum for paragraphs, and Lc -80.2 as a background under white text.

A worked example with dark grey text on white. The text is dark grey #6E6E6E and the background is white #FFFFFF.

  1. Score it with APCA. You get Lc 75.2.

  2. Compare 75.2 with Lc 75, the minimum for paragraphs. It’s over by 0.2.

So #6E6E6E on white passes for paragraphs, but only just.

Size and weight: why small, thin text needs more

APCA asks for more contrast as text gets smaller and thinner. The APCA docs say large, thick letters are easier to see because of their size, so they don’t need as much contrast. WCAG 2 only splits text into two sizes, normal and large.

APCA’s reference code has a size and weight chart (the code calls it a lookup table) that sets a minimum Lc for each size and weight. Each step smaller or thinner asks for a higher score, as the chart below shows.

Size

300 light

400 regular

500 medium

600 semibold

700 bold

12px

Not allowed

120 (no pair)

115 (no pair)

110 (no pair)

105

14px

Not allowed

110 (no pair)

105

95

75

16px

125 (no pair)

90

75

70

60

18px

105

75

70

60

55

24px

75

60

55

50

45

32px

65

50

45

45

40

48px

55

45

40

40

35

Our recreation of the size and weight chart in apca-w3 0.1.9, for the font Barlow. Each cell is the lowest Lc the chart allows for text people need to read. “No pair” means the chart asks for more than any two colours can score, so that text can’t pass. “Not allowed” means the chart says not to use that weight at that size at all.

#6E6E6E on white scores Lc 75.2. Regular weight at seven sizes: 12px needs Lc 120, 14px needs Lc 110 and 16px needs Lc 90, and all three fail. 18px needs Lc 75, 24px needs Lc 60, 32px needs Lc 50 and 48px needs Lc 45, and all four pass.

Smaller text needs more contrast

#6E6E6E on white scores Lc 75.2. At 16px, Light 300 needs Lc 125 and Regular 400 needs Lc 90, and both fail. Medium 500 needs Lc 75, Semibold 600 needs Lc 70 and Bold 700 needs Lc 60, and all three pass.

Thinner text needs more contrast

To find the score a piece of text needs:

  1. Find its size and weight in the chart and read the Lc.

  2. If it’s body text in long passages and that Lc is under 75, add 15.

A long passage means columns or blocks of body text, like the paragraphs of an article. The APCA docs don’t give a length, but they say that’s where extra contrast helps reading most. The add-15 rule comes with the chart, and Silver uses it.

So a 24px regular heading needs Lc 60. But 24px regular paragraph text needs Lc 75, because 60 is under 75 and gets the extra 15.

#8E8E8E on white scores Lc 60.1, shown at 24px regular. As a heading it passes, because a heading needs Lc 60. As a paragraph it fails, because a paragraph needs Lc 75: Lc 60 plus 15 for long passages.

A paragraph needs more than a heading

Warning

The two APCA sources don’t agree on this rule. The comment in the apca-w3 code says to add 15 when the Lc is under 70. The apca-w3 README says to add 15 when it’s lower than 75. Most text gets the same answer either way, but not all: 18px medium body text needs Lc 70 by the code comment and Lc 85 by the README. Until they match, use the README’s 75. It’s the stricter rule, so text that passes it passes both.

Some sizes can’t pass at all. A 12px regular font needs more than any pair of colours can score, and the top of the scale is about Lc 106.

Black on white scores Lc 106, the top of the scale. Regular text at 12px needs Lc 120 and at 14px needs Lc 110, and both fail. At 16px it needs Lc 90 and at 18px it needs Lc 75, and both pass.

Some sizes can never pass

The chart’s sizes are for the font Barlow. If your font has a smaller x-height (shorter lowercase letters), set it bigger to get the same result. The APCA docs say Times New Roman, for one, needs to be about 16% bigger.

The word hex in Barlow and in Times New Roman at the same font size. A line at the height of Barlow’s lowercase letters runs across both, and the Times New Roman letters stop below it.

Same font size, shorter lowercase letters

Polarity: why swapping the colours changes the score

Polarity is which colour is the text: dark text on a light background, or light text on a dark background. APCA scores the two with separate formulas because people don’t see them the same way. In dark mode, Somers says, your eyes adjust to the dark and your pupils open wider, so light from bright text scatters and glares more, especially for people with astigmatism.

Note

Polarity and the minus sign. In APCA, a positive Lc means dark text on a light background, and a negative Lc means light text on a dark background. The minus sign doesn’t mean less contrast. When you compare a score with a level, drop the sign, so Lc -77 counts the same as Lc 77.

A worked example with light grey text on near-black, in dark mode. The text is light grey #9CA3AF and the background is near-black #111827. Both are built-in colours in Tailwind v3.

  1. Score it with WCAG 2. You get 6.99:1, well over 4.5:1, so it passes level AA.

  2. Score the same pair with APCA, with the light grey entered as the text. You get Lc -51.0.

  3. Compare 51, without the sign, with Lc 60 for labels and Lc 75 for paragraphs (see which score you need). It’s under both.

WCAG 2 passes this pair, and APCA fails it for any text people need to read. A lighter grey, #D1D5DB, on the same background scores 12.04:1 and Lc -79.7, so it passes both. For the light mode side of the swap, see the grey pair.

That gap shows up at every WCAG 2 threshold, because the same ratio scores very differently depending on the background. At 4.5:1, grey text on white scores Lc 71.6 and grey text on near-black scores Lc -34.1, less than half as much. WCAG 2 treats those two as equal and APCA doesn’t. The graph can’t tell you which method is right, but it does show why dark mode is the place to check both.

APCA Lc against WCAG 2 ratio for grey text on two backgrounds. On white, 3:1 scores Lc 57.1, 4.5:1 scores Lc 71.6 and 7:1 scores Lc 84.3. On gray-900, 3:1 scores Lc −21.5, 4.5:1 scores Lc −34.1 and 7:1 scores Lc −51.3. So #767676 on white and #818181 on #111827 both reach 4.5:1 with very different Lc scores.

The same ratio on white and on near-black

APCA can also pass a pair that WCAG 2 fails. White text on a bright blue #3B82F6 fails WCAG 2 at 3.68:1 but scores Lc -69.4, enough for a button label.

Two dark-mode Storage almost full notifications. gray-400 on gray-900 passes WCAG 2 at 6.99:1 but fails APCA at Lc −51.0, and a cursor comment calls it too faint. gray-300 on gray-900 passes both, at 12.04:1 and Lc −79.7.

Tailwind gray-400 and gray-300 on gray-900

Which Lc score do you need?

For body text, aim for Lc 75 or more, and Lc 90 if you can. Those numbers come from Bronze. APCA has three levels: Bronze, Silver and Gold. Each one covers more text than the one before, or checks it in more detail. They’re set out in the APCA Readability Criterion, APCA’s own standard outside the W3C, so they aren’t WCAG levels (Is APCA part of WCAG?).

Bronze sets one number for each type of text

Bronze is the starting point. It’s built as a first level to learn, with a short set of pass marks that work like WCAG 2’s. You sort your text by type, like body text or labels, and give each type its one number from the table. You don’t look up sizes or match a font, and Bronze doesn’t set a smallest font size.

Definition

Body text is text people read in full, like paragraphs. Other content text is text people read but not in full, like labels, buttons and links.

Lc

What it’s for

90

Preferred level for body text

75

Minimum for body text at 18px regular or bigger

60

Minimum for other content text, like labels and buttons

45

Minimum for big text like headings (36px regular or 24px bold), and for detailed icons

30

Floor for any other text, including placeholder and disabled text

15

Minimum for shapes that only need to be seen, like dividers, at least 5px thick

The APCA docs compare these levels to WCAG 2’s AA level, and they add two more rules.

  • For a stricter test, like WCAG 2’s AAA, add Lc 15 to each level.

  • Keep very large, bold text (over 36px bold) under about Lc 90, because more than that is too much contrast.

Dark grey #6E6E6E on white scores Lc 75.2, so it passes Bronze as body text. The grey from the swap example, at Lc 71.6 on white, is too light for a paragraph and fine for a button label.

Silver uses the size and weight chart

Silver covers all text, not only the main content. It swaps Bronze’s flat numbers for the size and weight chart. Take the same #6E6E6E paragraph at 16px regular. The chart asks for Lc 90 there, and the grey scores Lc 75.2, so it fails Silver. Set it at 18px regular and it passes, because the chart asks for Lc 75. And two labels in the same colours can get different targets, because 16px regular needs Lc 90 and 16px bold needs Lc 60.

So one pair can pass Bronze and fail Silver, and two checkers can give it different answers. Both can be right. The APCA docs call Silver and Gold optional extra levels, so one checker can use Bronze and another Silver, and both follow APCA’s rules.

Gold adds a chart for each use of text

Gold has a separate chart for each use of text, such as body text or logos and branding. Take a logo set in 24px regular type. Silver checks it against the same chart as a 24px heading, so it needs Lc 60. Gold checks it against its own chart for logos and branding instead. The APCA docs we checked don’t publish the Lc that chart asks for, so there’s no Gold number to give here. Gold also checks your font against a reference font. If yours looks small for its size next to it, like Times New Roman in size and weight, you have to set it bigger or bolder to pass.

The WCAG 3 draft uses the names Bronze, Silver and Gold for its own tiers, which mean something else. So if a tool only says “Silver”, check which one it means.

All of this guidance is labelled beta, so it may still change.

APCA’s Bronze, Silver and Gold levels. Bronze covers your main text only: Lc 75 for body text, Lc 60 for other text, or Lc 45 for big text. Silver covers all text, with a minimum Lc for each size and weight: 16px regular text needs Lc 90, and some small, light sizes aren’t allowed. Gold covers all text with a minimum Lc for each size and weight, a separate chart for each use of text, and a comparison with a reference font, with size and weight adjusted to match.

APCA's Bronze, Silver and Gold levels

Is APCA part of WCAG?

No. WCAG 2.2, the finished standard, uses the 4.5:1 ratio and doesn’t mention APCA. The WCAG 3 draft says its contrast method is “yet to be determined”. APCA was in the WCAG 3 drafts in 2021 and came out in 2023, so passing APCA doesn’t mean a design meets any version of WCAG.

Background

WCAG 2.2 became a finished W3C standard, called a Recommendation, on 5 October 2023, and its latest edition is from 12 December 2024. WCAG 3 is still a Working Draft, so it can change a lot. Its full name is now the W3C Accessibility Guidelines, because it covers more than web content. But the W3C kept the letters WCAG, because people know them.

  • The January, June and December 2021 WCAG 3 drafts all measured text contrast with APCA’s size and weight chart.

  • In January 2023 the working group behind WCAG 3 removed the contrast guidance from the drafts. W3C staff explained that early ideas without the group’s support come out after 6 months, and said they hoped the contrast work would come back later.

  • The next draft, in July 2023, removed all the earlier draft guidance, so APCA was gone from it.

  • The latest Working Draft, dated 10 September 2026, says the contrast method is “yet to be determined”. It expects that method to take size and weight into account.

Somers, who made APCA, says the same. In April 2026 he wrote that APCA is draft guidance and “no one should be calling it ‘WCAG 3’”. And APCA’s own rules for tools say no design can be “WCAG 3 compliant” until WCAG 3 is done.

The W3C says WCAG 3 is still a few years from finished, and its final rules won’t be the same as the draft. Even then, it won’t replace WCAG 2.

Where APCA stands in WCAG 3. 2021, with a tick: in all three 2021 drafts. January 2023, with a cross: removed from the editors’ draft. July 2023, with a cross: all earlier guidance removed. Now, with a question mark: the method is “yet to be determined”.

APCA in WCAG 3, 2021 to 2026

Should you use APCA today?

Yes, as a second check. Meet WCAG 2.2 AA first, because that’s the standard (Is APCA part of WCAG?). Somers agrees that nobody should stop meeting WCAG 2 because of a draft. Then use APCA where the two methods disagree most, which is dark mode and small or thin text.

The evidence behind APCA is disputed. Somers says it rests on independent testing and peer-reviewed papers (papers other researchers checked before they came out). But xi, who wrote a guide to APCA that isn’t from its makers, says nobody has run a full scientific test of it yet. Keep both views in mind before you lean on APCA alone.

The steps to check your own work are in checking a whole design. They start with WCAG 2, then add APCA.

WCAG 2

Colour order
Same number either way round
Scale
1:1 to 21:1
Text sizes
Two: normal and large
Body text minimum
4.5:1
In WCAG
Yes, WCAG 2.2 is the standard to meet

APCA

Colour order
Score changes when you swap the colours
Scale
Lc 0 up to about Lc 106, down to about Lc -108
Text sizes
Depends on size and weight
Body text minimum
Lc 75
In WCAG
No, and not in the draft of WCAG 3

Checking a whole design

Checking pair by pair gets slow on a whole design, and a scan finds the small text and dark mode layers where WCAG 2 and APCA disagree most. WCAG 2 comes first because it’s the standard, and APCA comes second to catch what WCAG 2 misses.

  1. Check every text layer against WCAG 2 AA.
    ↳ Most text needs 4.5:1 (how WCAG 2 measures).

  2. Scan the page or file with an APCA checker.
    ↳ Pick one for where you work, in Figma, the browser or code (tools).

  3. Read the Lc score for each text layer.
    ↳ Drop the minus sign on light text. If you type colours into a checker, put the text colour in the text box, because APCA’s own test guide says never to swap them (polarity).

  4. Compare each score with the target for that text’s size and weight.
    ↳ Use Bronze’s numbers or Silver’s chart (which score you need).

  5. Check dark mode as its own set.
    ↳ Light text on near-black can pass 4.5:1 and still score under Lc 60.

  6. Fix each layer that falls short, then scan again.
    ↳ More contrast between the colours fixes it, and so can a bigger or bolder font, because bigger text needs a lower score.

  7. If two tools disagree, check which level each one uses.
    ↳ Some use Bronze and others use Silver’s chart (the three levels).

4.5:1 has no Lc equivalent

You can’t turn a ratio into an Lc score. The ratio stays the same whichever colour is the text, and the Lc score doesn’t. The APCA docs say APCA’s levels are roughly like WCAG 2’s AA, but no formula turns one number into the other.

Tools that check both WCAG and APCA

Pick a checker for the place you already work: Figma, the browser or your code.

In Figma

In the browser

In your code: apca-w3

Every score on this page comes from apca-w3, so these are APCA’s own numbers, not another tool’s version of them. Its latest release is apca-w3 0.1.9, from 4 July 2022, and it’s still the latest in October 2026.

For more tools, see Myndex’s tool list, though the list says it hasn’t checked them all for accuracy.

About the author

Ben Walsh is a product designer who builds Perception, an accessibility plugin for Figma. He checks this page against the sources listed below.

This page covers APCA version 0.0.98G-4g, as published in the reference code apca-w3 0.1.9.

Sources

Primary sources, checked 30 October 2026.

Figures

  • Polarity pair and dark mode pairs. Tailwind v3.4.17, rendered and scored with apca-w3 0.1.9 and the WCAG 2.2 formula, unrounded.

  • Lc ladder. Myndex Research, APCA in a Nutshell, with grey values scored in apca-w3 0.1.9.

  • WCAG 3 timeline. W3C, WCAG 3.0 publication history and the 10 September 2026 Working Draft.

  • Contrast levels, number line, same-ratio graph, size and weight examples. Illustrations by Ben Walsh, scored with apca-w3 0.1.9 and the WCAG 2.2 formula.

  • WCAG 2 and APCA at a glance. W3C WCAG 2.2 and Myndex Research APCA FAQ.

Search

Ben WalshAvailable

Available to help

I’m open to permanent and contract roles, fully remote, with occasional travel in the UK. Got a role in mind? Book a call and tell me about it.

Book 25 minutes

Available to help

I’m open to permanent and contract roles, fully remote, with occasional travel in the UK. Got a role in mind? Book a call and tell me about it.

Book 25 minutes

  

© 2026 Benjamin Walsh

We use Microsoft Clarity to see how you use our website. This helps us improve our products and advertising. By using our site, you agree that we and Microsoft can collect and use this data. Our privacy statement has more details.

Search

Ben WalshAvailable

Available to help

I’m open to permanent and contract roles, fully remote, with occasional travel in the UK. Got a role in mind? Book a call and tell me about it.

Book 25 minutes

Available to help

I’m open to permanent and contract roles, fully remote, with occasional travel in the UK. Got a role in mind? Book a call and tell me about it.

Book 25 minutes

  

© 2026 Benjamin Walsh

We use Microsoft Clarity to see how you use our website. This helps us improve our products and advertising. By using our site, you agree that we and Microsoft can collect and use this data. Our privacy statement has more details.

Search

Ben WalshAvailable

Available to help

I’m open to permanent and contract roles, fully remote, with occasional travel in the UK. Got a role in mind? Book a call and tell me about it.

Book 25 minutes

Available to help

I’m open to permanent and contract roles, fully remote, with occasional travel in the UK. Got a role in mind? Book a call and tell me about it.

Book 25 minutes

  

© 2026 Benjamin Walsh

We use Microsoft Clarity to see how you use our website. This helps us improve our products and advertising. By using our site, you agree that we and Microsoft can collect and use this data. Our privacy statement has more details.