A five-color palette
Sea glass: a teal, seafoam and slate color palette
Teal with frosted seafoam, a dark green-black and a slate gray, like glass the sea has worn smooth. Its hex codes are #189790, #8dc8bf, #142b26, #3e5450, #cdf4ec. 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 |
|---|---|---|---|---|
#189790 | Dark Cyan (darkcyan) | oklch(61.2% 0.102 188.9) | 5.87:1 passes | 3.58:1 fails |
#8dc8bf | Medium Aquamarine (mediumaquamarine) | oklch(79.0% 0.062 184.2) | 11.15:1 passes | 1.88:1 fails |
#142b26 | Dark Slate Grey (darkslategrey) | oklch(26.8% 0.031 178.2) | 1.40:1 fails | 14.96:1 passes |
#3e5450 | Dark Slate Grey (darkslategrey) | oklch(42.6% 0.028 182.6) | 2.59:1 fails | 8.11:1 passes |
#cdf4ec | Pale Turquoise (paleturquoise) | oklch(93.7% 0.042 181.6) | 17.75:1 passes | 1.18:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #cdf4ec, the lightest of the five, takes the background and #142b26, 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: #189790;
--color-2: #8dc8bf;
--color-3: #142b26;
--color-4: #3e5450;
--color-5: #cdf4ec;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #189790;
--color-2: #8dc8bf;
--color-3: #142b26;
--color-4: #3e5450;
--color-5: #cdf4ec;
--color-primary: #189790;
--color-secondary: #8dc8bf;
--color-accent: #142b26;
}SCSS variables
$color-1: #189790;
$color-2: #8dc8bf;
$color-3: #142b26;
$color-4: #3e5450;
$color-5: #cdf4ec;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#189790",
"#8dc8bf",
"#142b26",
"#3e5450",
"#cdf4ec"
]
}Hex list
#189790
#8dc8bf
#142b26
#3e5450
#cdf4ecCoolors link
https://coolors.co/189790-8dc8bf-142b26-3e5450-cdf4ec