A five-color palette
Moss: a forest green, sage and pale mint color palette
A deep forest green and a soft sage, a green-black, a gray-green and a pale mint. Its hex codes are #075c2a, #648f6b, #06210d, #aacaae, #dbf6d9. 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 |
|---|---|---|---|---|
#075c2a | Dark Green (darkgreen) | oklch(41.7% 0.110 150.6) | 2.57:1 fails | 8.16:1 passes |
#648f6b | Sea Green (seagreen) | oklch(60.8% 0.072 148.9) | 5.68:1 passes | 3.70:1 fails |
#06210d | Dark Slate Grey (darkslategrey) | oklch(22.1% 0.051 149.3) | 1.23:1 fails | 17.06:1 passes |
#aacaae | Silver (silver) | oklch(80.8% 0.052 148.6) | 11.77:1 passes | 1.78:1 fails |
#dbf6d9 | Beige (beige) | oklch(94.6% 0.048 143.3) | 18.20:1 passes | 1.15:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #dbf6d9, the lightest of the five, takes the background and #06210d, 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: #075c2a;
--color-2: #648f6b;
--color-3: #06210d;
--color-4: #aacaae;
--color-5: #dbf6d9;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #075c2a;
--color-2: #648f6b;
--color-3: #06210d;
--color-4: #aacaae;
--color-5: #dbf6d9;
--color-primary: #075c2a;
--color-secondary: #648f6b;
--color-accent: #06210d;
}SCSS variables
$color-1: #075c2a;
$color-2: #648f6b;
$color-3: #06210d;
$color-4: #aacaae;
$color-5: #dbf6d9;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#075c2a",
"#648f6b",
"#06210d",
"#aacaae",
"#dbf6d9"
]
}Hex list
#075c2a
#648f6b
#06210d
#aacaae
#dbf6d9Coolors link
https://coolors.co/075c2a-648f6b-06210d-aacaae-dbf6d9