PreviewingGo to this paletteOpen in generator
Code
/* Black Olive — colorset.net */
:root {
--color-1: #1C1C05;
--color-2: #2F2F08;
--color-3: #42420B;
--color-4: #55550E;
--color-5: #686811;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D7C4;
--color-text: #1C1C05;
--color-muted: #6C6D53;
--color-primary: #686811;
--color-on-primary: #FFFFFF;
--color-accent: #2F2F08;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C1C05;
--color-surface: #27270F;
--color-border: #3C3C23;
--color-text: #B3B590;
--color-muted: #8F9074;
--color-primary: #737421;
--color-on-primary: #FFFFFF;
--color-accent: #707157;
--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 | adjusted for contrast · from #686811 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #686811 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #686811 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #686811 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.06:1 | AAA pass 4.5:1 | |
| Text on surface | 14.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.87:1 | AA pass 4.5:1 | |
| Label on accent | 13.72:1 | AAA pass 4.5:1 | |
| Primary on background | 5.47:1 | AA pass 3:1 | |
| Accent on background | 12.78:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.15:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 4.94:1 | AA pass 4.5:1 | |
| Label on accent | 5.01:1 | AA pass 4.5:1 | |
| Primary on background | 3.49:1 | AA Large pass 3:1 | |
| Accent on background | 3.44: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 | #1C1C05 (Text 1) | #2F2F08 (Text 2) | #42420B (Text 3) | #55550E (Text 4) | #686811 (Text 5) |
|---|---|---|---|---|---|
| #1C1C05 | Same color | 1.26— | 1.66— | 2.21— | 2.94— |
| #2F2F08 | 1.26— | Same color | 1.32— | 1.76— | 2.34— |
| #42420B | 1.66— | 1.32— | Same color | 1.34— | 1.77— |
| #55550E | 2.21— | 1.76— | 1.34— | Same color | 1.33— |
| #686811 | 2.94— | 2.34— | 1.77— | 1.33— | Same color |
Shades
Shades and tints (50–950)
