PreviewingGo to this paletteOpen in generator
Code
/* Mustard Seed — colorset.net */
:root {
--color-1: #947A2B;
--color-2: #B88E00;
--color-3: #CCAA00;
--color-4: #E1C699;
--color-5: #F4D03F;
--color-bg: #FBF7E8;
--color-surface: #F2EEDF;
--color-border: #DAD5C3;
--color-text: #624D00;
--color-muted: #746B51;
--color-primary: #947100;
--color-on-primary: #FFFFFF;
--color-accent: #9E855A;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E00;
--color-surface: #201905;
--color-border: #352D15;
--color-text: #DDD3AE;
--color-muted: #8C8469;
--color-primary: #B88E00;
--color-on-primary: #150E00;
--color-accent: #F4D03F;
--color-on-accent: #150E00;
}
}
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 #E1C699 | adjusted for contrast · from #947A2B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #947A2B | adjusted for contrast · from #E1C699 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #947A2B | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #947A2B | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.58:1 | AAA pass 4.5:1 | |
| Text on surface | 7.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.79:1 | AAA pass 4.5:1 | |
| Text on surface | 11.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 6.31:1 | AA pass 4.5:1 | |
| Label on accent | 12.73:1 | AAA pass 4.5:1 | |
| Primary on background | 6.31:1 | AA pass 3:1 | |
| Accent on background | 12.73: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 | #947A2B (Text 1) | #B88E00 (Text 2) | #CCAA00 (Text 3) | #E1C699 (Text 4) | #F4D03F (Text 5) |
|---|---|---|---|---|---|
| #947A2B | Same color | 1.36— | 1.83— | 2.51— | 2.75— |
| #B88E00 | 1.36— | Same color | 1.35— | 1.84— | 2.02— |
| #CCAA00 | 1.83— | 1.35— | Same color | 1.37— | 1.50— |
| #E1C699 | 2.51— | 1.84— | 1.37— | Same color | 1.09— |
| #F4D03F | 2.75— | 2.02— | 1.50— | 1.09— | Same color |
Shades
Shades and tints (50–950)
