A five-color palette
Eucalyptus: a sage, moss and pale gray-green color palette
A gray sage and a moss green with a light sage, a pale gray-green and a dark green-black. Its hex codes are #232b1b, #7b8b75, #e5ebde, #465c2f, #aabd97. 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 |
|---|---|---|---|---|
#232b1b | Dark Slate Grey (darkslategrey) | oklch(27.6% 0.030 129.8) | 1.43:1 fails | 14.66:1 passes |
#7b8b75 | Grey (grey) | oklch(61.7% 0.037 137.1) | 5.79:1 passes | 3.63:1 fails |
#e5ebde | Antique White (antiquewhite) | oklch(93.2% 0.018 127.2) | 17.27:1 passes | 1.22:1 fails |
#465c2f | Dark Olive Green (darkolivegreen) | oklch(44.5% 0.073 130.2) | 2.83:1 fails | 7.41:1 passes |
#aabd97 | Dark Sea Green (darkseagreen) | oklch(77.4% 0.057 129.3) | 10.44:1 passes | 2.01:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #e5ebde, the lightest of the five, takes the background and #232b1b, 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: #232b1b;
--color-2: #7b8b75;
--color-3: #e5ebde;
--color-4: #465c2f;
--color-5: #aabd97;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #232b1b;
--color-2: #7b8b75;
--color-3: #e5ebde;
--color-4: #465c2f;
--color-5: #aabd97;
--color-primary: #232b1b;
--color-secondary: #7b8b75;
--color-accent: #e5ebde;
}SCSS variables
$color-1: #232b1b;
$color-2: #7b8b75;
$color-3: #e5ebde;
$color-4: #465c2f;
$color-5: #aabd97;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#232b1b",
"#7b8b75",
"#e5ebde",
"#465c2f",
"#aabd97"
]
}Hex list
#232b1b
#7b8b75
#e5ebde
#465c2f
#aabd97Coolors link
https://coolors.co/232b1b-7b8b75-e5ebde-465c2f-aabd97