PreviewingGo to this paletteOpen in generator
Code
/* Olive Oil Gold — colorset.net */
:root {
--color-1: #B5A642;
--color-2: #C7BC5E;
--color-3: #D9D27A;
--color-4: #EBE896;
--color-5: #FDFEB2;
--color-bg: #F8F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D6C4;
--color-text: #574D00;
--color-muted: #6E6B50;
--color-primary: #998A1F;
--color-on-primary: #000000;
--color-accent: #79782F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #131000;
--color-surface: #1D1A06;
--color-border: #322E16;
--color-text: #FAFBD5;
--color-muted: #8E8E72;
--color-primary: #B5A642;
--color-on-primary: #131000;
--color-accent: #EBE896;
--color-on-accent: #131000;
}
}
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 #FDFEB2 | adjusted for contrast · from #B5A642 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B5A642 | adjusted for contrast · from #FDFEB2 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B5A642 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B5A642 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.94:1 | AAA pass 4.5:1 | |
| Text on surface | 7.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 6.01:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 4.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.99:1 | AAA pass 4.5:1 | |
| Text on surface | 16.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.68:1 | AA pass 4.5:1 | |
| Label on primary | 7.71:1 | AAA pass 4.5:1 | |
| Label on accent | 14.99:1 | AAA pass 4.5:1 | |
| Primary on background | 7.71:1 | AAA pass 3:1 | |
| Accent on background | 14.99: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 | #B5A642 (Text 1) | #C7BC5E (Text 2) | #D9D27A (Text 3) | #EBE896 (Text 4) | #FDFEB2 (Text 5) |
|---|---|---|---|---|---|
| #B5A642 | Same color | 1.27— | 1.58— | 1.94— | 2.35— |
| #C7BC5E | 1.27— | Same color | 1.25— | 1.53— | 1.85— |
| #D9D27A | 1.58— | 1.25— | Same color | 1.23— | 1.49— |
| #EBE896 | 1.94— | 1.53— | 1.23— | Same color | 1.21— |
| #FDFEB2 | 2.35— | 1.85— | 1.49— | 1.21— | Same color |
Shades
Shades and tints (50–950)
