PreviewingGo to this paletteOpen in generator
Code
/* Chestnut Roast — colorset.net */
:root {
--color-1: #F7EDE3;
--color-2: #7A3E22;
--color-3: #3F6E7A;
--color-4: #E6D0BC;
--color-5: #241712;
--color-bg: #F7EDE3;
--color-surface: #FBF5EF;
--color-border: #E0D4C7;
--color-text: #241712;
--color-muted: #776761;
--color-primary: #7A3E22;
--color-on-primary: #FFFFFF;
--color-accent: #3F6E7A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #241712;
--color-surface: #2F221C;
--color-border: #48362F;
--color-text: #F7EDE3;
--color-muted: #958C83;
--color-primary: #A06044;
--color-on-primary: #FFFFFF;
--color-accent: #487783;
--color-on-accent: #FFFFFF;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #7A3E22 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #3F6E7A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.07:1 | AAA pass 4.5:1 | |
| Text on surface | 16.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 8.27:1 | AAA pass 4.5:1 | |
| Label on accent | 5.64:1 | AA pass 4.5:1 | |
| Primary on background | 7.16:1 | AAA pass 3:1 | |
| Accent on background | 4.88:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.07:1 | AAA pass 4.5:1 | |
| Text on surface | 13.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 4.94:1 | AA pass 4.5:1 | |
| Label on accent | 4.95:1 | AA pass 4.5:1 | |
| Primary on background | 3.52:1 | AA Large pass 3:1 | |
| Accent on background | 3.52:1 | AA Large 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 | #F7EDE3 (Text 1) | #7A3E22 (Text 2) | #3F6E7A (Text 3) | #E6D0BC (Text 4) | #241712 (Text 5) |
|---|---|---|---|---|---|
| #F7EDE3 | Same color | 7.16AAA | 4.88AA | 1.29— | 15.07AAA |
| #7A3E22 | 7.16AAA | Same color | 1.47— | 5.56AA | 2.11— |
| #3F6E7A | 4.88AA | 1.47— | Same color | 3.79AA Large | 3.09AA Large |
| #E6D0BC | 1.29— | 5.56AA | 3.79AA Large | Same color | 11.70AAA |
| #241712 | 15.07AAA | 2.11— | 3.09AA Large | 11.70AAA | Same color |
Shades
Shades and tints (50–950)
