Fog Color Palette
Fog Color Palette built around #D8DCE0, a light neutral neutral anchor (WCAG contrast 1.38: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 | #F0F2F4 | |
| surface | #DEDCDA | |
| text | #6B6D70 | |
| text-muted | #BBBFC2 | |
| primary | #BBBFC2 | |
| secondary | #D8DCE0 | |
| accent | #DEDCDA |
CSS variables
:root {
--background: #f0f2f4;
--surface: #dedcda;
--text: #6b6d70;
--text-muted: #bbbfc2;
--primary: #bbbfc2;
--secondary: #d8dce0;
--accent: #dedcda;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #D8DCE0 | #F0F2F4 | #6B6D70 | #DEDCDA | #BBBFC2 |
|---|---|---|---|---|---|
| #D8DCE0 | 1.0 | 1.2 | 3.8 | 1.0 | 1.3 |
| #F0F2F4 | 1.2 | 1.0 | 4.6 | 1.2 | 1.6 |
| #6B6D70 | 3.8 | 4.6 | 1.0 | 3.8 | 2.8 |
| #DEDCDA | 1.0 | 1.2 | 3.8 | 1.0 | 1.4 |
| #BBBFC2 | 1.3 | 1.6 | 2.8 | 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 fog color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #D8DCE0, #F0F2F4, #6B6D70, #DEDCDA, #BBBFC2.
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.