PreviewingGo to this paletteOpen in generator
Code
/* Mustard Knit — colorset.net */
:root {
--color-1: #F8F5EA;
--color-2: #DDB13A;
--color-3: #683738;
--color-4: #E8D89B;
--color-5: #2A280B;
--color-bg: #F8F5EA;
--color-surface: #FEFCF6;
--color-border: #E0DCCE;
--color-text: #2A280B;
--color-muted: #737257;
--color-primary: #AD8600;
--color-on-primary: #000000;
--color-accent: #683738;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #101007;
--color-surface: #1B1A10;
--color-border: #2F2F21;
--color-text: #F8F5EA;
--color-muted: #8D8A80;
--color-primary: #DDB13A;
--color-on-primary: #101007;
--color-accent: #8D5858;
--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 #2A280B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DDB13A | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #683738 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.68:1 | AAA pass 4.5:1 | |
| Text on surface | 14.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.50:1 | AA pass 4.5:1 | |
| Label on primary | 6.19:1 | AA pass 4.5:1 | |
| Label on accent | 9.58:1 | AAA pass 4.5:1 | |
| Primary on background | 3.11:1 | AA Large pass 3:1 | |
| Accent on background | 8.78:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.50:1 | AAA pass 4.5:1 | |
| Text on surface | 16.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.53:1 | AA pass 4.5:1 | |
| Label on primary | 9.48:1 | AAA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 9.48:1 | AAA pass 3:1 | |
| Accent on background | 3.34: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 | #F8F5EA (Text 1) | #DDB13A (Text 2) | #683738 (Text 3) | #E8D89B (Text 4) | #2A280B (Text 5) |
|---|---|---|---|---|---|
| #F8F5EA | Same color | 1.85— | 8.78AAA | 1.31— | 13.68AAA |
| #DDB13A | 1.85— | Same color | 4.76AA | 1.41— | 7.41AAA |
| #683738 | 8.78AAA | 4.76AA | Same color | 6.72AA | 1.56— |
| #E8D89B | 1.31— | 1.41— | 6.72AA | Same color | 10.47AAA |
| #2A280B | 13.68AAA | 7.41AAA | 1.56— | 10.47AAA | Same color |
Shades
Shades and tints (50–950)
