Green Color Palette
Green Color Palette built around #008000, a dark neutral green anchor (WCAG contrast 4.09: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 | #A9D39B | |
| surface | #338D25 | |
| text | #004600 | |
| text-muted | #631D63 | |
| primary | #008000 | |
| secondary | #631D63 | |
| accent | #338D25 |
CSS variables
:root {
--background: #a9d39b;
--surface: #338d25;
--text: #004600;
--text-muted: #631d63;
--primary: #008000;
--secondary: #631d63;
--accent: #338d25;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #008000 | #A9D39B | #004600 | #631D63 | #338D25 |
|---|---|---|---|---|---|
| #008000 | 1.0 | 3.0 | 2.2 | 2.2 | 1.2 |
| #A9D39B | 3.0 | 1.0 | 6.7 | 6.6 | 2.5 |
| #004600 | 2.2 | 6.7 | 1.0 | 1.0 | 2.6 |
| #631D63 | 2.2 | 6.6 | 1.0 | 1.0 | 2.6 |
| #338D25 | 1.2 | 2.5 | 2.6 | 2.6 | 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 green color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #008000, #A9D39B, #004600, #631D63, #338D25.
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.