A five-color palette
Lichen: a olive gray, sage and moss color palette
Muted olive and moss grays with a pale sage, a light gray-green and an olive-black. Its hex codes are #2a2a09, #87885f, #eaecbe, #4f4e3d, #cacbb0. 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 |
|---|---|---|---|---|
#2a2a09 | Dark Slate Grey (darkslategrey) | oklch(27.7% 0.050 109.3) | 1.43:1 fails | 14.65:1 passes |
#87885f | Grey (grey) | oklch(61.5% 0.058 109.2) | 5.72:1 passes | 3.67:1 fails |
#eaecbe | Pale Goldenrod (palegoldenrod) | oklch(93.0% 0.060 109.6) | 17.24:1 passes | 1.22:1 fails |
#4f4e3d | Dark Slate Grey (darkslategrey) | oklch(42.0% 0.027 104.7) | 2.49:1 fails | 8.44:1 passes |
#cacbb0 | Silver (silver) | oklch(83.4% 0.037 108.9) | 12.68:1 passes | 1.66:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #eaecbe, the lightest of the five, takes the background and #2a2a09, 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: #2a2a09;
--color-2: #87885f;
--color-3: #eaecbe;
--color-4: #4f4e3d;
--color-5: #cacbb0;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #2a2a09;
--color-2: #87885f;
--color-3: #eaecbe;
--color-4: #4f4e3d;
--color-5: #cacbb0;
--color-primary: #2a2a09;
--color-secondary: #87885f;
--color-accent: #eaecbe;
}SCSS variables
$color-1: #2a2a09;
$color-2: #87885f;
$color-3: #eaecbe;
$color-4: #4f4e3d;
$color-5: #cacbb0;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#2a2a09",
"#87885f",
"#eaecbe",
"#4f4e3d",
"#cacbb0"
]
}Hex list
#2a2a09
#87885f
#eaecbe
#4f4e3d
#cacbb0Coolors link
https://coolors.co/2a2a09-87885f-eaecbe-4f4e3d-cacbb0