Darkgreen Color Palette
Darkgreen Color Palette built around #006400, a dark neutral green anchor (WCAG contrast 2.82: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 | #A5C799 | |
| surface | #2B7320 | |
| text | #4E174E | |
| text-muted | #003800 | |
| primary | #006400 | |
| secondary | #003800 | |
| accent | #2B7320 |
CSS variables
:root {
--background: #a5c799;
--surface: #2b7320;
--text: #4e174e;
--text-muted: #003800;
--primary: #006400;
--secondary: #003800;
--accent: #2b7320;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #006400 | #A5C799 | #003800 | #4E174E | #2B7320 |
|---|---|---|---|---|---|
| #006400 | 1.0 | 4.0 | 1.8 | 1.8 | 1.3 |
| #A5C799 | 4.0 | 1.0 | 7.2 | 7.2 | 3.1 |
| #003800 | 1.8 | 7.2 | 1.0 | 1.0 | 2.3 |
| #4E174E | 1.8 | 7.2 | 1.0 | 1.0 | 2.3 |
| #2B7320 | 1.3 | 3.1 | 2.3 | 2.3 | 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 darkgreen color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #006400, #A5C799, #003800, #4E174E, #2B7320.
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.