PreviewingGo to this paletteOpen in generator
Code
/* Toffee Swirl — colorset.net */
:root {
--color-1: #D2691E;
--color-2: #CD853F;
--color-3: #DEB887;
--color-4: #F4A460;
--color-5: #FFEFD5;
--color-bg: #FFEFD5;
--color-surface: #FFF7EB;
--color-border: #E7D6BB;
--color-text: #78401E;
--color-muted: #816758;
--color-primary: #BC5800;
--color-on-primary: #FFFFFF;
--color-accent: #988972;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #FFEFD5;
--color-muted: #95866F;
--color-primary: #BC5800;
--color-on-primary: #FFFFFF;
--color-accent: #DEB887;
--color-on-accent: #1B0A03;
}
}
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 | from palette · color 5 | adjusted for contrast · from #D2691E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D2691E | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D2691E | adjusted for contrast · from #D2691E |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CD853F | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.28:1 | AAA pass 4.5:1 | |
| Text on surface | 7.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 6.16:1 | AA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 3.01:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.01:1 | AAA pass 4.5:1 | |
| Text on surface | 15.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.42:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 10.37:1 | AAA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large pass 3:1 | |
| Accent on background | 10.37: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 | #D2691E (Text 1) | #CD853F (Text 2) | #DEB887 (Text 3) | #F4A460 (Text 4) | #FFEFD5 (Text 5) |
|---|---|---|---|---|---|
| #D2691E | Same color | 1.22— | 1.96— | 1.79— | 3.21AA Large |
| #CD853F | 1.22— | Same color | 1.61— | 1.47— | 2.64— |
| #DEB887 | 1.96— | 1.61— | Same color | 1.10— | 1.64— |
| #F4A460 | 1.79— | 1.47— | 1.10— | Same color | 1.80— |
| #FFEFD5 | 3.21AA Large | 2.64— | 1.64— | 1.80— | Same color |
Shades
Shades and tints (50–950)
