PreviewingGo to this paletteOpen in generator
Code
/* Butterscotch Yellow — colorset.net */
:root {
--color-1: #E8A853;
--color-2: #ECB767;
--color-3: #F0C67B;
--color-4: #F4D58F;
--color-5: #F8E4A3;
--color-bg: #FBF7E8;
--color-surface: #F2EDDF;
--color-border: #DAD5C3;
--color-text: #6D4503;
--color-muted: #7A6752;
--color-primary: #A26800;
--color-on-primary: #FFFFFF;
--color-accent: #633E00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190C00;
--color-surface: #231706;
--color-border: #3A2A16;
--color-text: #F0E5C0;
--color-muted: #8A8267;
--color-primary: #E8A853;
--color-on-primary: #190C00;
--color-accent: #F4D58F;
--color-on-accent: #190C00;
}
}
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 #F8E4A3 | adjusted for contrast · from #E8A853 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E8A853 | adjusted for contrast · from #F8E4A3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E8A853 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E8A853 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.82:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 9.46:1 | AAA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 8.82:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.24:1 | AAA pass 4.5:1 | |
| Text on surface | 13.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 9.29:1 | AAA pass 4.5:1 | |
| Label on accent | 13.49:1 | AAA pass 4.5:1 | |
| Primary on background | 9.29:1 | AAA pass 3:1 | |
| Accent on background | 13.49: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 | #E8A853 (Text 1) | #ECB767 (Text 2) | #F0C67B (Text 3) | #F4D58F (Text 4) | #F8E4A3 (Text 5) |
|---|---|---|---|---|---|
| #E8A853 | Same color | 1.14— | 1.29— | 1.45— | 1.64— |
| #ECB767 | 1.14— | Same color | 1.13— | 1.28— | 1.44— |
| #F0C67B | 1.29— | 1.13— | Same color | 1.13— | 1.27— |
| #F4D58F | 1.45— | 1.28— | 1.13— | Same color | 1.13— |
| #F8E4A3 | 1.64— | 1.44— | 1.27— | 1.13— | Same color |
Shades
Shades and tints (50–950)
