A five-color palette
Spring: a olive, green and aqua color palette
An olive and a vivid green with a pale spring green, a deep green and an aqua. Its hex codes are #565700, #d3f4bc, #179c35, #00311c, #58cfc6. 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 |
|---|---|---|---|---|
#565700 | Dark Olive Green (darkolivegreen) | oklch(44.1% 0.097 110.5) | 2.76:1 fails | 7.61:1 passes |
#d3f4bc | Pale Goldenrod (palegoldenrod) | oklch(92.9% 0.082 132.7) | 17.44:1 passes | 1.20:1 fails |
#179c35 | Forest Green (forestgreen) | oklch(60.5% 0.178 145.8) | 5.84:1 passes | 3.59:1 fails |
#00311c | Dark Slate Grey (darkslategrey) | oklch(27.6% 0.064 158.9) | 1.46:1 fails | 14.42:1 passes |
#58cfc6 | Medium Turquoise (mediumturquoise) | oklch(78.5% 0.107 188.4) | 11.16:1 passes | 1.88:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #d3f4bc, the lightest of the five, takes the background and #00311c, 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: #565700;
--color-2: #d3f4bc;
--color-3: #179c35;
--color-4: #00311c;
--color-5: #58cfc6;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #565700;
--color-2: #d3f4bc;
--color-3: #179c35;
--color-4: #00311c;
--color-5: #58cfc6;
--color-primary: #565700;
--color-secondary: #d3f4bc;
--color-accent: #179c35;
}SCSS variables
$color-1: #565700;
$color-2: #d3f4bc;
$color-3: #179c35;
$color-4: #00311c;
$color-5: #58cfc6;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#565700",
"#d3f4bc",
"#179c35",
"#00311c",
"#58cfc6"
]
}Hex list
#565700
#d3f4bc
#179c35
#00311c
#58cfc6Coolors link
https://coolors.co/565700-d3f4bc-179c35-00311c-58cfc6