PreviewingGo to this paletteOpen in generator
Code
/* Butterscotch Gold — colorset.net */
:root {
--color-1: #DAA520;
--color-2: #E4B52F;
--color-3: #EEC73A;
--color-4: #F4D03F;
--color-5: #FFD700;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #644900;
--color-muted: #756850;
--color-primary: #AE8100;
--color-on-primary: #000000;
--color-accent: #8C7500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170E00;
--color-surface: #211805;
--color-border: #372C15;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #DAA520;
--color-on-primary: #170E00;
--color-accent: #FFD700;
--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 #F4D03F | adjusted for contrast · from #DAA520 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DAA520 | adjusted for contrast · from #F4D03F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DAA520 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DAA520 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.94:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.20:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.64:1 | AAA pass 4.5:1 | |
| Text on surface | 12.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 8.54:1 | AAA pass 4.5:1 | |
| Label on accent | 13.62:1 | AAA pass 4.5:1 | |
| Primary on background | 8.54:1 | AAA pass 3:1 | |
| Accent on background | 13.62: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 | #DAA520 (Text 1) | #E4B52F (Text 2) | #EEC73A (Text 3) | #F4D03F (Text 4) | #FFD700 (Text 5) |
|---|---|---|---|---|---|
| #DAA520 | Same color | 1.17— | 1.37— | 1.49— | 1.60— |
| #E4B52F | 1.17— | Same color | 1.18— | 1.27— | 1.37— |
| #EEC73A | 1.37— | 1.18— | Same color | 1.08— | 1.16— |
| #F4D03F | 1.49— | 1.27— | 1.08— | Same color | 1.07— |
| #FFD700 | 1.60— | 1.37— | 1.16— | 1.07— | Same color |
Shades
Shades and tints (50–950)
