PreviewingGo to this paletteOpen in generator
Code
/* Deep Gold — colorset.net */
:root {
--color-1: #B8860B;
--color-2: #C8961B;
--color-3: #D8A62B;
--color-4: #E8B63B;
--color-5: #F8C64B;
--color-bg: #FDF6E8;
--color-surface: #F3EDDF;
--color-border: #DCD4C3;
--color-text: #654800;
--color-muted: #766850;
--color-primary: #B18000;
--color-on-primary: #000000;
--color-accent: #957100;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170E00;
--color-surface: #221805;
--color-border: #382C15;
--color-text: #DCCCA9;
--color-muted: #8F8369;
--color-primary: #B8860B;
--color-on-primary: #170E00;
--color-accent: #F8C64B;
--color-on-accent: #170E00;
}
}
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 #F8C64B | adjusted for contrast · from #B8860B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B8860B | adjusted for contrast · from #F8C64B |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8860B | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B8860B | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 4.21:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.06:1 | AAA pass 4.5:1 | |
| Text on surface | 11.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 5.87:1 | AA pass 4.5:1 | |
| Label on accent | 11.98:1 | AAA pass 4.5:1 | |
| Primary on background | 5.87:1 | AA pass 3:1 | |
| Accent on background | 11.98: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 | #B8860B (Text 1) | #C8961B (Text 2) | #D8A62B (Text 3) | #E8B63B (Text 4) | #F8C64B (Text 5) |
|---|---|---|---|---|---|
| #B8860B | Same color | 1.21— | 1.46— | 1.73— | 2.04— |
| #C8961B | 1.21— | Same color | 1.20— | 1.43— | 1.68— |
| #D8A62B | 1.46— | 1.20— | Same color | 1.19— | 1.40— |
| #E8B63B | 1.73— | 1.43— | 1.19— | Same color | 1.18— |
| #F8C64B | 2.04— | 1.68— | 1.40— | 1.18— | Same color |
Shades
Shades and tints (50–950)
