PreviewingGo to this paletteOpen in generator
Code
/* Slate Teal — colorset.net */
:root {
--color-1: #2F4F4F;
--color-2: #696969;
--color-3: #008080;
--color-4: #20B2AA;
--color-5: #48CAE4;
--color-bg: #E8FBFF;
--color-surface: #DFF1F6;
--color-border: #C3DADF;
--color-text: #2F4F4F;
--color-muted: #507171;
--color-primary: #00837D;
--color-on-primary: #FFFFFF;
--color-accent: #696969;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071111;
--color-surface: #111C1C;
--color-border: #223131;
--color-text: #93C0CB;
--color-muted: #668890;
--color-primary: #20B2AA;
--color-on-primary: #071111;
--color-accent: #4D6E6E;
--color-on-accent: #FFFFFF;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #48CAE4 | adjusted for contrast · from #2F4F4F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #48CAE4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #008080 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #696969 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.36:1 | AAA pass 4.5:1 | |
| Text on surface | 7.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.49:1 | AA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 5.14:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.70:1 | AAA pass 4.5:1 | |
| Text on surface | 8.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 7.30:1 | AAA pass 4.5:1 | |
| Label on accent | 5.57:1 | AA pass 4.5:1 | |
| Primary on background | 7.30:1 | AAA pass 3:1 | |
| Accent on background | 3.44:1 | AA Large pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #2F4F4F (Text 1) | #696969 (Text 2) | #008080 (Text 3) | #20B2AA (Text 4) | #48CAE4 (Text 5) |
|---|---|---|---|---|---|
| #2F4F4F | Same color | 1.63— | 1.87— | 3.41AA Large | 4.61AA |
| #696969 | 1.63— | Same color | 1.15— | 2.09— | 2.83— |
| #008080 | 1.87— | 1.15— | Same color | 1.82— | 2.46— |
| #20B2AA | 3.41AA Large | 2.09— | 1.82— | Same color | 1.35— |
| #48CAE4 | 4.61AA | 2.83— | 2.46— | 1.35— | Same color |
Shades
Shades and tints (50–950)
