PreviewingGo to this paletteOpen in generator
Code
/* Morning Roast — colorset.net */
:root {
--color-1: #F8F1E7;
--color-2: #6C4128;
--color-3: #CF7F7F;
--color-4: #957256;
--color-5: #2E190D;
--color-bg: #F8F1E7;
--color-surface: #FDF9F3;
--color-border: #E1D8CB;
--color-text: #2E190D;
--color-muted: #83695B;
--color-primary: #C57676;
--color-on-primary: #2E190D;
--color-accent: #6C4128;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2E190D;
--color-surface: #3A2418;
--color-border: #51392C;
--color-text: #F8F1E7;
--color-muted: #979087;
--color-primary: #CF7F7F;
--color-on-primary: #2E190D;
--color-accent: #97684E;
--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 | adjusted for contrast · from #CF7F7F | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #957256 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.85:1 | AAA pass 4.5:1 | |
| Text on surface | 15.88:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.53:1 | AA pass 4.5:1 | |
| Label on primary | 4.94:1 | AA pass 4.5:1 | |
| Label on accent | 8.66:1 | AAA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 7.72:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.85:1 | AAA pass 4.5:1 | |
| Text on surface | 12.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 5.55:1 | AA pass 4.5:1 | |
| Label on accent | 4.77:1 | AA pass 4.5:1 | |
| Primary on background | 5.55:1 | AA pass 3:1 | |
| Accent on background | 3.49: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 | #F8F1E7 (Text 1) | #6C4128 (Text 2) | #CF7F7F (Text 3) | #957256 (Text 4) | #2E190D (Text 5) |
|---|---|---|---|---|---|
| #F8F1E7 | Same color | 7.72AAA | 2.68— | 3.89AA Large | 14.85AAA |
| #6C4128 | 7.72AAA | Same color | 2.89— | 1.99— | 1.92— |
| #CF7F7F | 2.68— | 2.89— | Same color | 1.45— | 5.55AA |
| #957256 | 3.89AA Large | 1.99— | 1.45— | Same color | 3.82AA Large |
| #2E190D | 14.85AAA | 1.92— | 5.55AA | 3.82AA Large | Same color |
Shades
Shades and tints (50–950)
