PreviewingGo to this paletteOpen in generator
Code
/* Butterscotch Bright — colorset.net */
:root {
--color-1: #DAA520;
--color-2: #E4B52F;
--color-3: #F4CF56;
--color-4: #FFE066;
--color-5: #FFEF99;
--color-bg: #FAF7E8;
--color-surface: #F1EEDF;
--color-border: #D9D5C3;
--color-text: #644900;
--color-muted: #756850;
--color-primary: #AE8100;
--color-on-primary: #000000;
--color-accent: #8E7300;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170E00;
--color-surface: #211805;
--color-border: #372C15;
--color-text: #F5EEC9;
--color-muted: #8C876B;
--color-primary: #DAA520;
--color-on-primary: #170E00;
--color-accent: #FFEF99;
--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 #FFEF99 | adjusted for contrast · from #DAA520 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DAA520 | adjusted for contrast · from #FFEF99 |
| 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.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 5.94:1 | AA pass 4.5:1 | |
| Label on accent | 4.56:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.33:1 | AAA pass 4.5:1 | |
| Text on surface | 14.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 8.54:1 | AAA pass 4.5:1 | |
| Label on accent | 16.43:1 | AAA pass 4.5:1 | |
| Primary on background | 8.54:1 | AAA pass 3:1 | |
| Accent on background | 16.43: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) | #F4CF56 (Text 3) | #FFE066 (Text 4) | #FFEF99 (Text 5) |
|---|---|---|---|---|---|
| #DAA520 | Same color | 1.17— | 1.48— | 1.72— | 1.92— |
| #E4B52F | 1.17— | Same color | 1.27— | 1.47— | 1.65— |
| #F4CF56 | 1.48— | 1.27— | Same color | 1.16— | 1.30— |
| #FFE066 | 1.72— | 1.47— | 1.16— | Same color | 1.12— |
| #FFEF99 | 1.92— | 1.65— | 1.30— | 1.12— | Same color |
Shades
Shades and tints (50–950)
