PreviewingGo to this paletteOpen in generator
Code
/* Dark Roast Menu — colorset.net */
:root {
--color-1: #F5E9D9;
--color-2: #78472A;
--color-3: #A36D34;
--color-4: #7DAE72;
--color-5: #2A140A;
--color-bg: #F5E9D9;
--color-surface: #F8F1E7;
--color-border: #DED0BD;
--color-text: #2A140A;
--color-muted: #7E6357;
--color-primary: #A06A31;
--color-on-primary: #FFFFFF;
--color-accent: #518046;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2A140A;
--color-surface: #361F14;
--color-border: #4C3429;
--color-text: #F5E9D9;
--color-muted: #948A7B;
--color-primary: #A06A31;
--color-on-primary: #FFFFFF;
--color-accent: #7DAE72;
--color-on-accent: #2A140A;
}
}
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 | adjusted for contrast · from #A36D34 | adjusted for contrast · from #A36D34 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A36D34 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.58:1 | AAA pass 4.5:1 | |
| Text on surface | 15.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.60:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 3.81:1 | AA Large pass 3:1 | |
| Accent on background | 3.88:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.58:1 | AAA pass 4.5:1 | |
| Text on surface | 12.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.14:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 6.79:1 | AA pass 4.5:1 | |
| Primary on background | 3.82:1 | AA Large pass 3:1 | |
| Accent on background | 6.79:1 | AA 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 | #F5E9D9 (Text 1) | #78472A (Text 2) | #A36D34 (Text 3) | #7DAE72 (Text 4) | #2A140A (Text 5) |
|---|---|---|---|---|---|
| #F5E9D9 | Same color | 6.42AA | 3.66AA Large | 2.15— | 14.58AAA |
| #78472A | 6.42AA | Same color | 1.75— | 2.99— | 2.27— |
| #A36D34 | 3.66AA Large | 1.75— | Same color | 1.70— | 3.99AA Large |
| #7DAE72 | 2.15— | 2.99— | 1.70— | Same color | 6.79AA |
| #2A140A | 14.58AAA | 2.27— | 3.99AA Large | 6.79AA | Same color |
Shades
Shades and tints (50–950)
