A five-color palette
Fern: a fern green, teal and mint color palette
Fern green and a deep teal lead, with aquamarine and a pale spring green for the light areas. Its hex codes are #339141, #007066, #111b16, #6fd1b3, #bcecb1. 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 |
|---|---|---|---|---|
#339141 | Forest Green (forestgreen) | oklch(58.2% 0.146 146.0) | 5.27:1 passes | 3.99:1 fails |
#007066 | Teal (teal) | oklch(49.0% 0.087 184.2) | 3.51:1 fails | 5.98:1 passes |
#111b16 | Midnight Blue (midnightblue) | oklch(21.0% 0.018 162.7) | 1.19:1 fails | 17.61:1 passes |
#6fd1b3 | Medium Aquamarine (mediumaquamarine) | oklch(79.2% 0.103 171.5) | 11.45:1 passes | 1.83:1 fails |
#bcecb1 | Pale Goldenrod (palegoldenrod) | oklch(89.5% 0.093 139.8) | 15.77:1 passes | 1.33: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; #111b16 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: #339141;
--color-2: #007066;
--color-3: #111b16;
--color-4: #6fd1b3;
--color-5: #bcecb1;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #339141;
--color-2: #007066;
--color-3: #111b16;
--color-4: #6fd1b3;
--color-5: #bcecb1;
--color-primary: #339141;
--color-secondary: #007066;
--color-accent: #111b16;
}SCSS variables
$color-1: #339141;
$color-2: #007066;
$color-3: #111b16;
$color-4: #6fd1b3;
$color-5: #bcecb1;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#339141",
"#007066",
"#111b16",
"#6fd1b3",
"#bcecb1"
]
}Hex list
#339141
#007066
#111b16
#6fd1b3
#bcecb1Coolors link
https://coolors.co/339141-007066-111b16-6fd1b3-bcecb1