PreviewingGo to this paletteOpen in generator
Code
/* Sticky Toffee — colorset.net */
:root {
--color-1: #E1A95F;
--color-2: #F4A460;
--color-3: #FFB347;
--color-4: #FFC966;
--color-5: #FFD699;
--color-bg: #FFF5E8;
--color-surface: #F5ECDF;
--color-border: #DED3C3;
--color-text: #6B4400;
--color-muted: #796751;
--color-primary: #A36A00;
--color-on-primary: #FFFFFF;
--color-accent: #643F00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190D00;
--color-surface: #231706;
--color-border: #3A2B16;
--color-text: #F0DAB9;
--color-muted: #918169;
--color-primary: #FFB347;
--color-on-primary: #190D00;
--color-accent: #E1A95F;
--color-on-accent: #190D00;
}
}
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 #FFD699 | adjusted for contrast · from #E1A95F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E1A95F | adjusted for contrast · from #FFD699 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E1A95F | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E1A95F | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.94:1 | AAA pass 4.5:1 | |
| Text on surface | 7.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 9.32:1 | AAA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 8.65:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.05:1 | AAA pass 4.5:1 | |
| Text on surface | 12.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 10.73:1 | AAA pass 4.5:1 | |
| Label on accent | 9.14:1 | AAA pass 4.5:1 | |
| Primary on background | 10.73:1 | AAA pass 3:1 | |
| Accent on background | 9.14: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 | #E1A95F (Text 1) | #F4A460 (Text 2) | #FFB347 (Text 3) | #FFC966 (Text 4) | #FFD699 (Text 5) |
|---|---|---|---|---|---|
| #E1A95F | Same color | 1.03— | 1.17— | 1.37— | 1.53— |
| #F4A460 | 1.03— | Same color | 1.14— | 1.34— | 1.48— |
| #FFB347 | 1.17— | 1.14— | Same color | 1.17— | 1.30— |
| #FFC966 | 1.37— | 1.34— | 1.17— | Same color | 1.11— |
| #FFD699 | 1.53— | 1.48— | 1.30— | 1.11— | Same color |
Shades
Shades and tints (50–950)
