A five-color palette
Olive grove: a green, olive and khaki color palette
A fresh green against an olive brown, a dark olive-black, khaki and a light aquamarine. Its hex codes are #60a36c, #745a00, #1b260e, #b2b784, #99f2d1. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.
Last updated
| Hex | Nearest CSS name | OKLCH | Black text, AA | White text, AA |
|---|---|---|---|---|
#60a36c | Medium Sea Green (mediumseagreen) | oklch(65.6% 0.107 148.6) | 6.95:1 passes | 3.02:1 fails |
#745a00 | Dark Olive Green (darkolivegreen) | oklch(48.1% 0.098 89.1) | 3.21:1 fails | 6.55:1 passes |
#1b260e | Dark Slate Grey (darkslategrey) | oklch(25.1% 0.044 129.4) | 1.33:1 fails | 15.79:1 passes |
#b2b784 | Dark Khaki (darkkhaki) | oklch(76.3% 0.069 112.6) | 10.00:1 passes | 2.10:1 fails |
#99f2d1 | Aquamarine (aquamarine) | oklch(89.6% 0.098 168.6) | 15.98:1 passes | 1.31:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #99f2d1, the lightest of the five, takes the background and #1b260e, the darkest, the text, and the page's other greys keep their place between the two; on a dark page the two swap. The other three take the page's colors in their order: the first of them its heaviest brand color, the next the one after. Reorder the swatches and the page reorders with them; mapping explains it, and the Tint choice that keeps a page's greys as they were. To keep text readable, the table above says whether black or white text reaches the WCAG AA ratio of 4.5:1 on each color.
The code below is what Recolor's own Export panel writes for this palette. The Tailwind block is a Tailwind v4 @theme block, and the Coolors link opens the same colors there. To see the palette on your own site first, follow previewing a palette on a real website.
The palette as code
CSS variables
:root {
--color-1: #60a36c;
--color-2: #745a00;
--color-3: #1b260e;
--color-4: #b2b784;
--color-5: #99f2d1;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #60a36c;
--color-2: #745a00;
--color-3: #1b260e;
--color-4: #b2b784;
--color-5: #99f2d1;
--color-primary: #60a36c;
--color-secondary: #745a00;
--color-accent: #1b260e;
}SCSS variables
$color-1: #60a36c;
$color-2: #745a00;
$color-3: #1b260e;
$color-4: #b2b784;
$color-5: #99f2d1;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#60a36c",
"#745a00",
"#1b260e",
"#b2b784",
"#99f2d1"
]
}Hex list
#60a36c
#745a00
#1b260e
#b2b784
#99f2d1Coolors link
https://coolors.co/60a36c-745a00-1b260e-b2b784-99f2d1