PreviewingGo to this paletteOpen in generator
Code
/* Topaz And Teal — colorset.net */
:root {
--color-1: #F6F1E4;
--color-2: #D98E04;
--color-3: #0F6E73;
--color-4: #8C2F4A;
--color-5: #1D2426;
--color-bg: #F6F1E4;
--color-surface: #FBF8F1;
--color-border: #DFD8C8;
--color-text: #1D2426;
--color-muted: #656D70;
--color-primary: #C17D00;
--color-on-primary: #1D2426;
--color-accent: #0F6E73;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1D2426;
--color-surface: #282F31;
--color-border: #3A4649;
--color-text: #F6F1E4;
--color-muted: #9A968A;
--color-primary: #D98E04;
--color-on-primary: #1D2426;
--color-accent: #2E8388;
--color-on-accent: #000000;
}
}
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 #D98E04 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #0F6E73 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.97:1 | AAA pass 4.5:1 | |
| Text on surface | 14.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.68:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 3.00:1 | AA Large pass 3:1 | |
| Accent on background | 5.32:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.97:1 | AAA pass 4.5:1 | |
| Text on surface | 12.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 5.87:1 | AA pass 4.5:1 | |
| Label on accent | 4.72:1 | AA pass 4.5:1 | |
| Primary on background | 5.87:1 | AA pass 3:1 | |
| Accent on background | 3.54: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 | #F6F1E4 (Text 1) | #D98E04 (Text 2) | #0F6E73 (Text 3) | #8C2F4A (Text 4) | #1D2426 (Text 5) |
|---|---|---|---|---|---|
| #F6F1E4 | Same color | 2.38— | 5.32AA | 7.11AAA | 13.97AAA |
| #D98E04 | 2.38— | Same color | 2.24— | 2.98— | 5.87AA |
| #0F6E73 | 5.32AA | 2.24— | Same color | 1.33— | 2.63— |
| #8C2F4A | 7.11AAA | 2.98— | 1.33— | Same color | 1.97— |
| #1D2426 | 13.97AAA | 5.87AA | 2.63— | 1.97— | Same color |
Shades
Shades and tints (50–950)
