A five-color palette
Garden: a leaf green, spring green and pine color palette
Two leaf greens, a dark pine and a forest green, with an almost white green. Its hex codes are #659e6c, #7bd89e, #00330f, #245b30, #cbfcd5. 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 |
|---|---|---|---|---|
#659e6c | Medium Sea Green (mediumseagreen) | oklch(64.6% 0.095 147.4) | 6.66:1 passes | 3.15:1 fails |
#7bd89e | Medium Aquamarine (mediumaquamarine) | oklch(80.9% 0.122 155.2) | 12.16:1 passes | 1.73:1 fails |
#00330f | Dark Slate Grey (darkslategrey) | oklch(28.0% 0.081 148.1) | 1.48:1 fails | 14.19:1 passes |
#245b30 | Dark Green (darkgreen) | oklch(42.2% 0.091 148.4) | 2.61:1 fails | 8.03:1 passes |
#cbfcd5 | Beige (beige) | oklch(94.7% 0.072 150.9) | 18.42:1 passes | 1.14:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #cbfcd5, the lightest of the five, takes the background and #00330f, 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: #659e6c;
--color-2: #7bd89e;
--color-3: #00330f;
--color-4: #245b30;
--color-5: #cbfcd5;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #659e6c;
--color-2: #7bd89e;
--color-3: #00330f;
--color-4: #245b30;
--color-5: #cbfcd5;
--color-primary: #659e6c;
--color-secondary: #7bd89e;
--color-accent: #00330f;
}SCSS variables
$color-1: #659e6c;
$color-2: #7bd89e;
$color-3: #00330f;
$color-4: #245b30;
$color-5: #cbfcd5;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#659e6c",
"#7bd89e",
"#00330f",
"#245b30",
"#cbfcd5"
]
}Hex list
#659e6c
#7bd89e
#00330f
#245b30
#cbfcd5Coolors link
https://coolors.co/659e6c-7bd89e-00330f-245b30-cbfcd5