PreviewingGo to this paletteOpen in generator
Code
/* Mustard Scarf — colorset.net */
:root {
--color-1: #F8F2E2;
--color-2: #C9961E;
--color-3: #6A3E5A;
--color-4: #EADBB3;
--color-5: #262019;
--color-bg: #F8F2E2;
--color-surface: #FDF9F0;
--color-border: #E0D9C6;
--color-text: #262019;
--color-muted: #746D64;
--color-primary: #B48400;
--color-on-primary: #262019;
--color-accent: #6A3E5A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #262019;
--color-surface: #312B24;
--color-border: #494036;
--color-text: #F8F2E2;
--color-muted: #989284;
--color-primary: #C9961E;
--color-on-primary: #262019;
--color-accent: #986885;
--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 #C9961E | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #6A3E5A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.42:1 | AAA pass 4.5:1 | |
| Text on surface | 15.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.57:1 | AA pass 4.5:1 | |
| Label on primary | 4.79:1 | AA pass 4.5:1 | |
| Label on accent | 8.57:1 | AAA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 7.67:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.42:1 | AAA pass 4.5:1 | |
| Text on surface | 12.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.20:1 | AA pass 4.5:1 | |
| Label on primary | 6.04:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 6.04:1 | AA pass 3:1 | |
| Accent on background | 3.57: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 | #F8F2E2 (Text 1) | #C9961E (Text 2) | #6A3E5A (Text 3) | #EADBB3 (Text 4) | #262019 (Text 5) |
|---|---|---|---|---|---|
| #F8F2E2 | Same color | 2.39— | 7.67AAA | 1.23— | 14.42AAA |
| #C9961E | 2.39— | Same color | 3.21AA Large | 1.94— | 6.04AA |
| #6A3E5A | 7.67AAA | 3.21AA Large | Same color | 6.24AA | 1.88— |
| #EADBB3 | 1.23— | 1.94— | 6.24AA | Same color | 11.73AAA |
| #262019 | 14.42AAA | 6.04AA | 1.88— | 11.73AAA | Same color |
Shades
Shades and tints (50–950)
