PreviewingGo to this paletteOpen in generator
Code
/* Teal Treasury — colorset.net */
:root {
--color-1: #F1F7F7;
--color-2: #0E7C86;
--color-3: #F28C28;
--color-4: #9EBFC2;
--color-5: #0D2326;
--color-bg: #F1F7F7;
--color-surface: #FAFEFE;
--color-border: #D5DFDF;
--color-text: #0D2326;
--color-muted: #5B7376;
--color-primary: #D47400;
--color-on-primary: #0D2326;
--color-accent: #0E7C86;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D2326;
--color-surface: #182E31;
--color-border: #2A4549;
--color-text: #F1F7F7;
--color-muted: #8F9595;
--color-primary: #F28C28;
--color-on-primary: #0D2326;
--color-accent: #157F89;
--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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F28C28 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #0E7C86 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.08:1 | AAA pass 4.5:1 | |
| Text on surface | 16.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 4.90:1 | AA pass 4.5:1 | |
| Label on accent | 4.95:1 | AA pass 4.5:1 | |
| Primary on background | 3.08:1 | AA Large pass 3:1 | |
| Accent on background | 4.57:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.08:1 | AAA pass 4.5:1 | |
| Text on surface | 13.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 6.66:1 | AA pass 4.5:1 | |
| Label on accent | 4.74:1 | AA pass 4.5:1 | |
| Primary on background | 6.66:1 | AA pass 3:1 | |
| Accent on background | 3.45: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 | #F1F7F7 (Text 1) | #0E7C86 (Text 2) | #F28C28 (Text 3) | #9EBFC2 (Text 4) | #0D2326 (Text 5) |
|---|---|---|---|---|---|
| #F1F7F7 | Same color | 4.57AA | 2.27— | 1.81— | 15.08AAA |
| #0E7C86 | 4.57AA | Same color | 2.02— | 2.52— | 3.30AA Large |
| #F28C28 | 2.27— | 2.02— | Same color | 1.25— | 6.66AA |
| #9EBFC2 | 1.81— | 2.52— | 1.25— | Same color | 8.31AAA |
| #0D2326 | 15.08AAA | 3.30AA Large | 6.66AA | 8.31AAA | Same color |
Shades
Shades and tints (50–950)
