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 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; #142b26 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: #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