PreviewingGo to this paletteOpen in generator
Code
/* Butterscotch Candy — colorset.net */
:root {
--color-1: #CD8032;
--color-2: #E09540;
--color-3: #EEB76B;
--color-4: #F2C88C;
--color-5: #FFEAA7;
--color-bg: #FBF7E8;
--color-surface: #F2EDDF;
--color-border: #DAD5C3;
--color-text: #72420F;
--color-muted: #7C6654;
--color-primary: #AC6200;
--color-on-primary: #FFFFFF;
--color-accent: #897535;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0B01;
--color-surface: #251607;
--color-border: #3C2918;
--color-text: #F6EBC6;
--color-muted: #8D856A;
--color-primary: #CD8032;
--color-on-primary: #1A0B01;
--color-accent: #F2C88C;
--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 #FFEAA7 | adjusted for contrast · from #CD8032 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #CD8032 | adjusted for contrast · from #FFEAA7 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CD8032 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CD8032 | 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.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 4.20:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.13:1 | AAA pass 4.5:1 | |
| Text on surface | 14.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.21:1 | AA pass 4.5:1 | |
| Label on primary | 6.16:1 | AA pass 4.5:1 | |
| Label on accent | 12.28:1 | AAA pass 4.5:1 | |
| Primary on background | 6.16:1 | AA pass 3:1 | |
| Accent on background | 12.28: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 | #CD8032 (Text 1) | #E09540 (Text 2) | #EEB76B (Text 3) | #F2C88C (Text 4) | #FFEAA7 (Text 5) |
|---|---|---|---|---|---|
| #CD8032 | Same color | 1.27— | 1.73— | 1.99— | 2.61— |
| #E09540 | 1.27— | Same color | 1.36— | 1.57— | 2.06— |
| #EEB76B | 1.73— | 1.36— | Same color | 1.15— | 1.51— |
| #F2C88C | 1.99— | 1.57— | 1.15— | Same color | 1.31— |
| #FFEAA7 | 2.61— | 2.06— | 1.51— | 1.31— | Same color |
Shades
Shades and tints (50–950)
