A five-color palette
Sage: a sage, olive and pale green color palette
Muted sage and olive with a near-black green and two pale greens: a quiet green scheme. Its hex codes are #7a9167, #536749, #131b12, #b1d4aa, #d2edbc. 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 |
|---|---|---|---|---|
#7a9167 | Grey (grey) | oklch(62.7% 0.066 131.4) | 6.07:1 passes | 3.46:1 fails |
#536749 | Dark Olive Green (darkolivegreen) | oklch(48.9% 0.052 135.4) | 3.40:1 fails | 6.17:1 passes |
#131b12 | Midnight Blue (midnightblue) | oklch(21.1% 0.021 141.9) | 1.19:1 fails | 17.60:1 passes |
#b1d4aa | Silver (silver) | oklch(83.3% 0.069 140.4) | 12.87:1 passes | 1.63:1 fails |
#d2edbc | Pale Goldenrod (palegoldenrod) | oklch(91.4% 0.071 131.2) | 16.58:1 passes | 1.27:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #d2edbc, the lightest of the five, takes the background and #131b12, 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: #7a9167;
--color-2: #536749;
--color-3: #131b12;
--color-4: #b1d4aa;
--color-5: #d2edbc;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #7a9167;
--color-2: #536749;
--color-3: #131b12;
--color-4: #b1d4aa;
--color-5: #d2edbc;
--color-primary: #7a9167;
--color-secondary: #536749;
--color-accent: #131b12;
}SCSS variables
$color-1: #7a9167;
$color-2: #536749;
$color-3: #131b12;
$color-4: #b1d4aa;
$color-5: #d2edbc;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#7a9167",
"#536749",
"#131b12",
"#b1d4aa",
"#d2edbc"
]
}Hex list
#7a9167
#536749
#131b12
#b1d4aa
#d2edbcCoolors link
https://coolors.co/7a9167-536749-131b12-b1d4aa-d2edbc