Every legal on-colour pairing with its contrast ratio. Generated from phase-2/kit/tokens.css (kit v3); the full page is docs › Foundations.
Every pairing the admin uses, computed from the tokens. Text needs 4.5:1; controls, focus and chart marks need 3:1.
| Sample | Pairing | Text / mark | On | Ratio | Result |
|---|---|---|---|---|---|
| Aa | Body text | --foreground | --background | 18.21:1 | Pass AA and AAA |
| Aa | Quiet text | --muted-foreground | --background | 6.83:1 | Pass AA |
| Aa | Quiet text on a well | --muted-foreground | --muted | 6.21:1 | Pass AA |
| Aa | Primary button | --primary-foreground | --primary | 17.25:1 | Pass AA and AAA |
| Aa | Primary button, hover | --primary-foreground | --primary-hover | 14.48:1 | Pass AA and AAA |
| Aa | Secondary button | --secondary-foreground | --secondary | 17.88:1 | Pass AA and AAA |
| Aa | Selected row, active filter | --accent-foreground | --accent | 15.27:1 | Pass AA and AAA |
| Aa | Danger button | --destructive-foreground | --destructive | 6.76:1 | Pass AA |
| Aa | Danger text | --destructive | --background | 6.76:1 | Pass AA |
| Aa | Success text | --success | --background | 7.03:1 | Pass AA and AAA |
| Aa | Warning text, STAGING badge | --warning | --background | 6.33:1 | Pass AA |
| Aa | Info text | --info | --background | 7.24:1 | Pass AA and AAA |
| Aa | Neutral text | --neutral | --background | 6.48:1 | Pass AA |
| Aa | Menu text | --sidebar-foreground | --sidebar | 11.32:1 | Pass AA and AAA |
| Aa | Active menu item | --sidebar-accent-foreground | --sidebar-accent | 14.09:1 | Pass AA and AAA |
| Aa | Active rail and icon | --sidebar-primary | --sidebar | 8.50:1 | Pass 3:1 |
| Aa | Focus ring | --ring | --background | 6.11:1 | Pass 3:1 |
| Aa | Control edge | --input | --background | 3.13:1 | Pass 3:1 |
| Aa | Control edge, hover | --input-hover | --background | 5.40:1 | Pass 3:1 |
| Aa | Secondary button edge (text-labelled, exempt) | --secondary-border | --background | 1.70:1 | Exempt: text-labelled |
| Aa | Hairline | --border | --background | 1.24:1 | Decorative, no minimum |
| Aa | Chart series 1 | --chart-1 | --background | 5.77:1 | Pass 3:1 |
| Aa | Chart series 2 | --chart-2 | --background | 3.22:1 | Pass 3:1 |
| Aa | Chart series 3 | --chart-3 | --background | 3.41:1 | Pass 3:1 |
| Aa | Chart series 4 | --chart-4 | --background | 3.12:1 | Pass 3:1 |
| Aa | Chart series 5 | --chart-5 | --background | 3.85:1 | Pass 3:1 |
| Aa | Previous period | --chart-muted | --background | 3.46:1 | Pass 3:1 |
| Aa | Chip text on its 12% soft fill | --draft | --status-soft-alpha over --background = #E7EBF2 | 6.06:1 | Pass AA |
| Aa | Chip text on its 12% soft fill | --available | --status-soft-alpha over --background = #E4ECE9 | 5.85:1 | Pass AA |
| Aa | Chip text on its 12% soft fill | --retired | --status-soft-alpha over --background = #EBECEE | 5.48:1 | Pass AA |
| Aa | Chip text on its 12% soft fill | --warning | --status-soft-alpha over --background = #F0EBE2 | 5.33:1 | Pass AA |
| Aa | Chip text on its 12% soft fill | --destructive | --status-soft-alpha over --background = #F4E6E8 | 5.57:1 | Pass AA |
| Aa | Chip text on its 12% soft fill | --not-wired | --status-soft-alpha over --background = #F0EBE2 | 5.33:1 | Pass AA |