Garden Color Palette
Leaf green, blossom pink, pollen yellow and hedge shadow — an English border in summer. Anchors: #4D7C0F, #F9A8D4, #FDE68A, #166534.
gardenfloralspring
#4D7C0F
#F9A8D4
#FDE68A
#166534
#B0C393
#4d7c0f #f9a8d4 #fde68a #166534 #b0c393
#4D7C0F #F9A8D4 #FDE68A #166534 #B0C393
Semantic roles
Assigned deterministically: lightest = background, darkest = text, most saturated = primary.
| background | #FDE68A | |
| surface | #F9A8D4 | |
| text | #166534 | |
| text-muted | #4D7C0F | |
| primary | #4D7C0F | |
| secondary | #F9A8D4 | |
| accent | #B0C393 |
CSS variables
:root {
--background: #fde68a;
--surface: #f9a8d4;
--text: #166534;
--text-muted: #4d7c0f;
--primary: #4d7c0f;
--secondary: #f9a8d4;
--accent: #b0c393;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #4D7C0F | #F9A8D4 | #FDE68A | #166534 | #B0C393 |
|---|---|---|---|---|---|
| #4D7C0F | 1.0 | 2.8 | 4.0 | 1.4 | 2.6 |
| #F9A8D4 | 2.8 | 1.0 | 1.5 | 3.9 | 1.1 |
| #FDE68A | 4.0 | 1.5 | 1.0 | 5.7 | 1.5 |
| #166534 | 1.4 | 3.9 | 5.7 | 1.0 | 3.8 |
| #B0C393 | 2.6 | 1.1 | 1.5 | 3.8 | 1.0 |
Under deuteranopia
Machado et al. (2009) simulation, severity 1.0 — approximation, not a medical tool.
Colors in this palette
#4D7C0F
rgb(77, 124, 15)
#F9A8D4
rgb(249, 168, 212)
#FDE68A
rgb(253, 230, 138)
#166534
rgb(22, 101, 52)
#B0C393
rgb(176, 195, 147)
Similar palettes
FAQ
How do I use the garden color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #4D7C0F, #F9A8D4, #FDE68A, #166534, #B0C393.
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.