PreviewingGo to this paletteOpen in generator
Code
/* Mustard Brown — colorset.net */
:root {
--color-1: #8B7500;
--color-2: #A68A00;
--color-3: #C1A000;
--color-4: #DCB515;
--color-5: #F7CA2A;
--color-bg: #FCF7E8;
--color-surface: #F2EDDF;
--color-border: #DBD5C3;
--color-text: #5D4E00;
--color-muted: #726B51;
--color-primary: #8A7300;
--color-on-primary: #FFFFFF;
--color-accent: #534400;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1E1905;
--color-border: #342E15;
--color-text: #DBCFAB;
--color-muted: #8B8267;
--color-primary: #A68A00;
--color-on-primary: #140F00;
--color-accent: #F7CA2A;
--color-on-accent: #140F00;
}
}
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 | adjusted for contrast · from #F7CA2A | adjusted for contrast · from #8B7500 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B7500 | adjusted for contrast · from #F7CA2A |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8B7500 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8B7500 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 9.57:1 | AAA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 8.93:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.32:1 | AAA pass 4.5:1 | |
| Text on surface | 11.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 12.24:1 | AAA pass 4.5:1 | |
| Primary on background | 5.70:1 | AA pass 3:1 | |
| Accent on background | 12.24:1 | AAA 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 | #8B7500 (Text 1) | #A68A00 (Text 2) | #C1A000 (Text 3) | #DCB515 (Text 4) | #F7CA2A (Text 5) |
|---|---|---|---|---|---|
| #8B7500 | Same color | 1.35— | 1.79— | 2.30— | 2.89— |
| #A68A00 | 1.35— | Same color | 1.33— | 1.70— | 2.15— |
| #C1A000 | 1.79— | 1.33— | Same color | 1.29— | 1.62— |
| #DCB515 | 2.30— | 1.70— | 1.29— | Same color | 1.26— |
| #F7CA2A | 2.89— | 2.15— | 1.62— | 1.26— | Same color |
Shades
Shades and tints (50–950)
