A five-color palette
Citrus grove: a green, yellow and olive color palette
Green and lemon yellow with a deep green, an olive and a pale green-white. Its hex codes are #00a05f, #ddc347, #072e02, #5a5b00, #e5f0d4. 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 |
|---|---|---|---|---|
#00a05f | Sea Green (seagreen) | oklch(62.1% 0.150 156.3) | 6.19:1 passes | 3.39:1 fails |
#ddc347 | Dark Khaki (darkkhaki) | oklch(81.7% 0.143 97.2) | 11.97:1 passes | 1.75:1 fails |
#072e02 | Dark Slate Grey (darkslategrey) | oklch(26.4% 0.083 141.0) | 1.40:1 fails | 14.99:1 passes |
#5a5b00 | Dark Olive Green (darkolivegreen) | oklch(45.5% 0.100 110.5) | 2.93:1 fails | 7.16:1 passes |
#e5f0d4 | Beige (beige) | oklch(93.9% 0.039 124.7) | 17.75:1 passes | 1.18:1 fails |
Using the palette
In Recolor the order of the colors is meaning: swatch 1 takes the page's heaviest brand color, swatch 2 the next, and the page's greys take a tint of swatch 1 (how that works is in mapping). Reorder the swatches and the page reorders with them. 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; #072e02 is the darkest of the five.
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: #00a05f;
--color-2: #ddc347;
--color-3: #072e02;
--color-4: #5a5b00;
--color-5: #e5f0d4;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #00a05f;
--color-2: #ddc347;
--color-3: #072e02;
--color-4: #5a5b00;
--color-5: #e5f0d4;
--color-primary: #00a05f;
--color-secondary: #ddc347;
--color-accent: #072e02;
}SCSS variables
$color-1: #00a05f;
$color-2: #ddc347;
$color-3: #072e02;
$color-4: #5a5b00;
$color-5: #e5f0d4;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#00a05f",
"#ddc347",
"#072e02",
"#5a5b00",
"#e5f0d4"
]
}Hex list
#00a05f
#ddc347
#072e02
#5a5b00
#e5f0d4Coolors link
https://coolors.co/00a05f-ddc347-072e02-5a5b00-e5f0d4