White Color Palette
White Color Palette built around #FFFFFF, a light neutral neutral anchor (WCAG contrast 1:1 against white). The set combines a light tint + a deep shade + a softened complement + a neutral ground so any palette position has a text-safe pairing.
Semantic roles
Assigned deterministically: lightest = background, darkest = text, most saturated = primary.
| background | #FFFFFF | |
| surface | #FFFFFF | |
| text | #7D7D7D | |
| text-muted | #DDDDDD | |
| primary | #DDDDDD | |
| secondary | #FFFFFF | |
| accent | #FFFFFF |
CSS variables
:root {
--background: #ffffff;
--surface: #ffffff;
--text: #7d7d7d;
--text-muted: #dddddd;
--primary: #dddddd;
--secondary: #ffffff;
--accent: #ffffff;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #FFFFFF | #FFFFFF | #7D7D7D | #FFFFFF | #DDDDDD |
|---|---|---|---|---|---|
| #FFFFFF | 1.0 | 1.0 | 4.1 | 1.0 | 1.4 |
| #FFFFFF | 1.0 | 1.0 | 4.1 | 1.0 | 1.4 |
| #7D7D7D | 4.1 | 4.1 | 1.0 | 4.1 | 3.0 |
| #FFFFFF | 1.0 | 1.0 | 4.1 | 1.0 | 1.4 |
| #DDDDDD | 1.4 | 1.4 | 3.0 | 1.4 | 1.0 |
Under deuteranopia
Machado et al. (2009) simulation, severity 1.0 — approximation, not a medical tool.
Colors in this palette
Similar palettes
FAQ
How do I use the white color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #FFFFFF, #FFFFFF, #7D7D7D, #FFFFFF, #DDDDDD.
Do these colors pass accessibility checks?
See the WCAG matrix on this page: every text-on-background pairing with ratio ≥ 4.5 passes AA for normal text; ≥ 3 passes AA for large text and UI components.