PreviewingGo to this paletteOpen in generator
Code
/* Mustard Van — colorset.net */
:root {
--color-1: #F4E7CC;
--color-2: #CC8F1A;
--color-3: #3D6E70;
--color-4: #D9603B;
--color-5: #2D2218;
--color-bg: #F4E7CC;
--color-surface: #F7EFDF;
--color-border: #DCCEB3;
--color-text: #2D2218;
--color-muted: #716459;
--color-primary: #C8502B;
--color-on-primary: #FFFFFF;
--color-accent: #3D6E70;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F0B;
--color-surface: #1D1915;
--color-border: #332C26;
--color-text: #F4E7CC;
--color-muted: #8E826A;
--color-primary: #C8502B;
--color-on-primary: #FFFFFF;
--color-accent: #3D6E70;
--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 | adjusted for contrast · from #2D2218 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D9603B | adjusted for contrast · from #D9603B |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.67:1 | AAA pass 4.5:1 | |
| Text on surface | 13.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.67:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.73:1 | AA pass 4.5:1 | |
| Primary on background | 3.70:1 | AA Large pass 3:1 | |
| Accent on background | 4.68:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.58:1 | AAA pass 4.5:1 | |
| Text on surface | 14.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.73:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.33: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 | #F4E7CC (Text 1) | #CC8F1A (Text 2) | #3D6E70 (Text 3) | #D9603B (Text 4) | #2D2218 (Text 5) |
|---|---|---|---|---|---|
| #F4E7CC | Same color | 2.28— | 4.68AA | 3.02AA Large | 12.67AAA |
| #CC8F1A | 2.28— | Same color | 2.05— | 1.32— | 5.55AA |
| #3D6E70 | 4.68AA | 2.05— | Same color | 1.55— | 2.71— |
| #D9603B | 3.02AA Large | 1.32— | 1.55— | Same color | 4.20AA Large |
| #2D2218 | 12.67AAA | 5.55AA | 2.71— | 4.20AA Large | Same color |
Shades
Shades and tints (50–950)
