Chocolate Color Palette
Chocolate Color Palette built around #7B3F00, a dark warm brown anchor (WCAG contrast 2.55:1 against black). 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 | #DCB396 | |
| surface | #8B501C | |
| text | #492000 | |
| text-muted | #1C3D5F | |
| primary | #7B3F00 | |
| secondary | #1C3D5F | |
| accent | #8B501C |
CSS variables
:root {
--background: #dcb396;
--surface: #8b501c;
--text: #492000;
--text-muted: #1c3d5f;
--primary: #7b3f00;
--secondary: #1c3d5f;
--accent: #8b501c;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #7B3F00 | #DCB396 | #492000 | #1C3D5F | #8B501C |
|---|---|---|---|---|---|
| #7B3F00 | 1.0 | 4.3 | 1.7 | 1.4 | 1.3 |
| #DCB396 | 4.3 | 1.0 | 7.3 | 5.8 | 3.4 |
| #492000 | 1.7 | 7.3 | 1.0 | 1.3 | 2.2 |
| #1C3D5F | 1.4 | 5.8 | 1.3 | 1.0 | 1.7 |
| #8B501C | 1.3 | 3.4 | 2.2 | 1.7 | 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 chocolate color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #7B3F00, #DCB396, #492000, #1C3D5F, #8B501C.
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.