PreviewingGo to this paletteOpen in generator
Code
/* Container Teal — colorset.net */
:root {
--color-1: #EBF4F4;
--color-2: #005259;
--color-3: #D8C288;
--color-4: #339797;
--color-5: #002D31;
--color-bg: #EBF4F4;
--color-surface: #F5FAFA;
--color-border: #CFDCDC;
--color-text: #002D31;
--color-muted: #507377;
--color-primary: #339797;
--color-on-primary: #000000;
--color-accent: #9F8A51;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061213;
--color-surface: #0F1C1D;
--color-border: #203133;
--color-text: #EBF4F4;
--color-muted: #828B8B;
--color-primary: #339797;
--color-on-primary: #061213;
--color-accent: #D8C288;
--color-on-accent: #061213;
}
}
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 | from palette · color 1 | adjusted for contrast · from #002D31 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #339797 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.23:1 | AAA pass 4.5:1 | |
| Text on surface | 14.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 6.01:1 | AA pass 4.5:1 | |
| Label on accent | 6.23:1 | AA pass 4.5:1 | |
| Primary on background | 3.12:1 | AA Large pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.02:1 | AAA pass 4.5:1 | |
| Text on surface | 15.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.45:1 | AA pass 4.5:1 | |
| Label on primary | 5.45:1 | AA pass 4.5:1 | |
| Label on accent | 10.87:1 | AAA pass 4.5:1 | |
| Primary on background | 5.45:1 | AA pass 3:1 | |
| Accent on background | 10.87:1 | AAA 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 | #EBF4F4 (Text 1) | #005259 (Text 2) | #D8C288 (Text 3) | #339797 (Text 4) | #002D31 (Text 5) |
|---|---|---|---|---|---|
| #EBF4F4 | Same color | 7.99AAA | 1.57— | 3.12AA Large | 13.23AAA |
| #005259 | 7.99AAA | Same color | 5.10AA | 2.56— | 1.66— |
| #D8C288 | 1.57— | 5.10AA | Same color | 1.99— | 8.45AAA |
| #339797 | 3.12AA Large | 2.56— | 1.99— | Same color | 4.24AA Large |
| #002D31 | 13.23AAA | 1.66— | 8.45AAA | 4.24AA Large | Same color |
Shades
Shades and tints (50–950)
