A five-color palette
Spruce: a mint, spruce and slate blue color palette
A pale mint and a spruce green with a turquoise, a slate blue and a dark teal. Its hex codes are #c5f0cd, #006549, #6bdbd0, #152629, #56829b. 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 |
|---|---|---|---|---|
#c5f0cd | Pale Turquoise (paleturquoise) | oklch(91.5% 0.065 150.4) | 16.72:1 passes | 1.26:1 fails |
#006549 | Dark Green (darkgreen) | oklch(44.9% 0.093 166.0) | 2.96:1 fails | 7.10:1 passes |
#6bdbd0 | Turquoise (turquoise) | oklch(82.3% 0.104 186.8) | 12.67:1 passes | 1.66:1 fails |
#152629 | Midnight Blue (midnightblue) | oklch(25.5% 0.023 209.8) | 1.34:1 fails | 15.66:1 passes |
#56829b | Slate Grey (slategrey) | oklch(58.4% 0.062 234.2) | 5.06:1 passes | 4.15:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #c5f0cd, the lightest of the five, takes the background and #152629, 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: #c5f0cd;
--color-2: #006549;
--color-3: #6bdbd0;
--color-4: #152629;
--color-5: #56829b;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #c5f0cd;
--color-2: #006549;
--color-3: #6bdbd0;
--color-4: #152629;
--color-5: #56829b;
--color-primary: #c5f0cd;
--color-secondary: #006549;
--color-accent: #6bdbd0;
}SCSS variables
$color-1: #c5f0cd;
$color-2: #006549;
$color-3: #6bdbd0;
$color-4: #152629;
$color-5: #56829b;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#c5f0cd",
"#006549",
"#6bdbd0",
"#152629",
"#56829b"
]
}Hex list
#c5f0cd
#006549
#6bdbd0
#152629
#56829bCoolors link
https://coolors.co/c5f0cd-006549-6bdbd0-152629-56829b