PreviewingGo to this paletteOpen in generator
Code
/* Mustard Sideboard — colorset.net */
:root {
--color-1: #F3EBD7;
--color-2: #D4A017;
--color-3: #6B4226;
--color-4: #7E9C8A;
--color-5: #26201A;
--color-bg: #F3EBD7;
--color-surface: #F7F2E6;
--color-border: #DCD2BB;
--color-text: #26201A;
--color-muted: #6F6760;
--color-primary: #966F00;
--color-on-primary: #FFFFFF;
--color-accent: #6B4226;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #26201A;
--color-surface: #312B25;
--color-border: #494037;
--color-text: #F3EBD7;
--color-muted: #99927F;
--color-primary: #D4A017;
--color-on-primary: #26201A;
--color-accent: #996C4F;
--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 #7E9C8A | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #7E9C8A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.56:1 | AAA pass 4.5:1 | |
| Text on surface | 14.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.67:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 8.63:1 | AAA pass 4.5:1 | |
| Primary on background | 3.87:1 | AA Large pass 3:1 | |
| Accent on background | 7.27:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.56:1 | AAA pass 4.5:1 | |
| Text on surface | 11.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.19:1 | AA pass 4.5:1 | |
| Label on primary | 6.78:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 6.78:1 | AA pass 3:1 | |
| Accent on background | 3.54: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 | #F3EBD7 (Text 1) | #D4A017 (Text 2) | #6B4226 (Text 3) | #7E9C8A (Text 4) | #26201A (Text 5) |
|---|---|---|---|---|---|
| #F3EBD7 | Same color | 2.00— | 7.27AAA | 2.52— | 13.56AAA |
| #D4A017 | 2.00— | Same color | 3.63AA Large | 1.26— | 6.78AA |
| #6B4226 | 7.27AAA | 3.63AA Large | Same color | 2.88— | 1.87— |
| #7E9C8A | 2.52— | 1.26— | 2.88— | Same color | 5.38AA |
| #26201A | 13.56AAA | 6.78AA | 1.87— | 5.38AA | Same color |
Shades
Shades and tints (50–950)
