Olive Color Palette
Olive Color Palette built around #808000, a dark warm green anchor (WCAG contrast 5.01: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 | #D5CF9C | |
| surface | #8E8C27 | |
| text | #1D1D63 | |
| text-muted | #424300 | |
| primary | #808000 | |
| secondary | #424300 | |
| accent | #8E8C27 |
CSS variables
:root {
--background: #d5cf9c;
--surface: #8e8c27;
--text: #1d1d63;
--text-muted: #424300;
--primary: #808000;
--secondary: #424300;
--accent: #8e8c27;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #808000 | #D5CF9C | #424300 | #1D1D63 | #8E8C27 |
|---|---|---|---|---|---|
| #808000 | 1.0 | 2.6 | 2.5 | 3.5 | 1.2 |
| #D5CF9C | 2.6 | 1.0 | 6.5 | 9.4 | 2.2 |
| #424300 | 2.5 | 6.5 | 1.0 | 1.4 | 2.9 |
| #1D1D63 | 3.5 | 9.4 | 1.4 | 1.0 | 4.2 |
| #8E8C27 | 1.2 | 2.2 | 2.9 | 4.2 | 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 olive color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #808000, #D5CF9C, #424300, #1D1D63, #8E8C27.
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.