A five-color palette
Rainforest: a teal, mint and olive color palette
Teal green and mint with a dark rainforest green and an olive, over a pale aqua. Its hex codes are #259a91, #91d2a5, #032c1f, #456549, #b7ebeb. 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 |
|---|---|---|---|---|
#259a91 | Dark Cyan (darkcyan) | oklch(62.2% 0.100 187.1) | 6.11:1 passes | 3.44:1 fails |
#91d2a5 | Medium Aquamarine (mediumaquamarine) | oklch(80.8% 0.092 153.7) | 11.97:1 passes | 1.75:1 fails |
#032c1f | Dark Slate Grey (darkslategrey) | oklch(26.1% 0.051 166.9) | 1.38:1 fails | 15.17:1 passes |
#456549 | Dark Olive Green (darkolivegreen) | oklch(47.4% 0.058 147.8) | 3.21:1 fails | 6.54:1 passes |
#b7ebeb | Pale Turquoise (paleturquoise) | oklch(90.4% 0.053 196.3) | 16.10:1 passes | 1.30:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #b7ebeb, the lightest of the five, takes the background and #032c1f, 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: #259a91;
--color-2: #91d2a5;
--color-3: #032c1f;
--color-4: #456549;
--color-5: #b7ebeb;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #259a91;
--color-2: #91d2a5;
--color-3: #032c1f;
--color-4: #456549;
--color-5: #b7ebeb;
--color-primary: #259a91;
--color-secondary: #91d2a5;
--color-accent: #032c1f;
}SCSS variables
$color-1: #259a91;
$color-2: #91d2a5;
$color-3: #032c1f;
$color-4: #456549;
$color-5: #b7ebeb;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#259a91",
"#91d2a5",
"#032c1f",
"#456549",
"#b7ebeb"
]
}Hex list
#259a91
#91d2a5
#032c1f
#456549
#b7ebebCoolors link
https://coolors.co/259a91-91d2a5-032c1f-456549-b7ebeb