PreviewingGo to this paletteOpen in generator
Code
/* Olive Mustard — colorset.net */
:root {
--color-1: #808000;
--color-2: #9ACD32;
--color-3: #BDB76B;
--color-4: #DAA520;
--color-5: #F0E68C;
--color-bg: #F9F8E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #515103;
--color-muted: #6B6C51;
--color-primary: #7A7A00;
--color-on-primary: #FFFFFF;
--color-accent: #AE8100;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #101101;
--color-surface: #1A1B06;
--color-border: #2F3017;
--color-text: #E8E4BF;
--color-muted: #888569;
--color-primary: #7A7A00;
--color-on-primary: #FFFFFF;
--color-accent: #DAA520;
--color-on-accent: #101101;
}
}
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 #F0E68C | adjusted for contrast · from #808000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #808000 | adjusted for contrast · from #F0E68C |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #808000 | adjusted for contrast · from #808000 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #808000 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 5.94:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.77:1 | AAA pass 4.5:1 | |
| Text on surface | 13.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 8.51:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 8.51: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 | #808000 (Text 1) | #9ACD32 (Text 2) | #BDB76B (Text 3) | #DAA520 (Text 4) | #F0E68C (Text 5) |
|---|---|---|---|---|---|
| #808000 | Same color | 2.23— | 2.03— | 1.87— | 3.28AA Large |
| #9ACD32 | 2.23— | Same color | 1.10— | 1.19— | 1.47— |
| #BDB76B | 2.03— | 1.10— | Same color | 1.08— | 1.62— |
| #DAA520 | 1.87— | 1.19— | 1.08— | Same color | 1.75— |
| #F0E68C | 3.28AA Large | 1.47— | 1.62— | 1.75— | Same color |
Shades
Shades and tints (50–950)
