PreviewingGo to this paletteOpen in generator
Code
/* Topaz Gold — colorset.net */
:root {
--color-1: #FFC87C;
--color-2: #FFD700;
--color-3: #FFCC5C;
--color-4: #F4A460;
--color-5: #DEB887;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #744314;
--color-muted: #7E6755;
--color-primary: #8C7500;
--color-on-primary: #FFFFFF;
--color-accent: #AE6316;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0B01;
--color-surface: #251508;
--color-border: #3D2919;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #FFD700;
--color-on-primary: #1A0B01;
--color-accent: #F4A460;
--color-on-accent: #1A0B01;
}
}
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 #FFC87C | adjusted for contrast · from #F4A460 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F4A460 | adjusted for contrast · from #FFC87C |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F4A460 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F4A460 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 4.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.73:1 | AAA pass 4.5:1 | |
| Text on surface | 12.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 13.71:1 | AAA pass 4.5:1 | |
| Label on accent | 9.45:1 | AAA pass 4.5:1 | |
| Primary on background | 13.71:1 | AAA pass 3:1 | |
| Accent on background | 9.45: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 | #FFC87C (Text 1) | #FFD700 (Text 2) | #FFCC5C (Text 3) | #F4A460 (Text 4) | #DEB887 (Text 5) |
|---|---|---|---|---|---|
| #FFC87C | Same color | 1.08— | 1.02— | 1.34— | 1.22— |
| #FFD700 | 1.08— | Same color | 1.07— | 1.45— | 1.32— |
| #FFCC5C | 1.02— | 1.07— | Same color | 1.36— | 1.24— |
| #F4A460 | 1.34— | 1.45— | 1.36— | Same color | 1.10— |
| #DEB887 | 1.22— | 1.32— | 1.24— | 1.10— | Same color |
Shades
Shades and tints (50–950)
