PreviewingGo to this paletteOpen in generator
Code
/* Teal Reef — colorset.net */
:root {
--color-1: #014D4E;
--color-2: #017374;
--color-3: #02979D;
--color-4: #05B2B9;
--color-5: #20C997;
--color-bg: #EBFBF4;
--color-surface: #E2F2EA;
--color-border: #C6DAD1;
--color-text: #014D4E;
--color-muted: #4D7171;
--color-primary: #008764;
--color-on-primary: #FFFFFF;
--color-accent: #017374;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #021313;
--color-surface: #091D1D;
--color-border: #1A3333;
--color-text: #8FB7A5;
--color-muted: #6B897C;
--color-primary: #20C997;
--color-on-primary: #021313;
--color-accent: #306F70;
--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 #20C997 | adjusted for contrast · from #014D4E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #05B2B9 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #017374 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #017374 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.04:1 | AAA pass 4.5:1 | |
| Text on surface | 8.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 5.67:1 | AA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 5.30:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.58:1 | AAA pass 4.5:1 | |
| Text on surface | 7.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 8.92:1 | AAA pass 4.5:1 | |
| Label on accent | 5.78:1 | AA pass 4.5:1 | |
| Primary on background | 8.92:1 | AAA pass 3:1 | |
| Accent on background | 3.29: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 | #014D4E (Text 1) | #017374 (Text 2) | #02979D (Text 3) | #05B2B9 (Text 4) | #20C997 (Text 5) |
|---|---|---|---|---|---|
| #014D4E | Same color | 1.71— | 2.72— | 3.72AA Large | 4.54AA |
| #017374 | 1.71— | Same color | 1.60— | 2.18— | 2.66— |
| #02979D | 2.72— | 1.60— | Same color | 1.36— | 1.67— |
| #05B2B9 | 3.72AA Large | 2.18— | 1.36— | Same color | 1.22— |
| #20C997 | 4.54AA | 2.66— | 1.67— | 1.22— | Same color |
Shades
Shades and tints (50–950)
