Contrast matrix
A contrast matrix is a palette held against itself: every color paired with every other, measured, and checked against what the guidelines require. It answers the question a palette alone cannot — which of these colors may sit on which, and which pairing looks settled to the designer and falls apart for the reader.
The pairing has a direction: a row is the text color, a column the ground it sits on. The diagonal is a color on itself and is left out, because a color has no contrast to itself. Contrast is only ever compared within one medium — a color that carries a print rendition is measured through the printing condition, never against a screen value.
Every pair is measured by several procedures at once, and they disagree: they model different things and are defined for different media. Which of them take part is set in the display options beside the matrix, and with them which results are worth seeing.
The two selections combine differently, and on purpose. Within one procedure the results ticked are alternatives: AA and AA-L side by side keep every pair that reached either of them. Across procedures they add up — a pair stays only if every procedure that judged it landed on one of its ticked results, because a single lenient procedure would carry the whole matrix. A procedure that judged nothing never excludes a pair: nothing examined is not the same as failed.
WCAG 2
Screen. The ratio of the two luminances, from 1:1 to 21:1. It reads contrast off luminance alone and is deliberately symmetric: which of the two colors is the text makes no difference to it.
- AAA
- Body text, 7:1
- AAA-L
- Large text, 4.5:1
- AA
- Body text, 4.5:1
- AA-L
- Large text, 3:1
- AA-G
- Graphics and user interface components, 3:1
APCA
Screen. Lightness contrast, Lc 0 to about 106, and polarity sensitive: dark text on a light ground and light text on a dark ground are judged differently, because they really are read differently.
- Lc 90
- Body text, preferred, Lc 90
- Lc 75
- Body text, minimum, Lc 75
- Lc 60
- Other content text, Lc 60
- Lc 45
- Large bold text, Lc 45
- Lc 30
- Non-text, essential, Lc 30
Delta Phi Star
Screen. A perceptual difference in lightness, 0 to 101, derived from CIE L*. It says how far apart two colors are without saying what is far enough.
It publishes no thresholds, so it reaches no verdict: the value is shown and nothing is concluded from it.
DIN 32975
Print, Spot color. The Michelson formula on the luminance factor, K 0 to 1, for surfaces that reflect light rather than emit it. A second condition rides along: the lighter of the two colors has to reflect at least half of the incident light, or the pair fails however far apart the two are.
- Text
- Text, K 0.7
- Surfaces
- Surfaces and markings, K 0.4