PreviewingGo to this paletteOpen in generator
Code
/* Olive Earth — colorset.net */
:root {
--color-1: #303306;
--color-2: #4D4D0A;
--color-3: #66660F;
--color-4: #808014;
--color-5: #999919;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D7C4;
--color-text: #303306;
--color-muted: #6B6E54;
--color-primary: #7A7A06;
--color-on-primary: #FFFFFF;
--color-accent: #4D4D0A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F1104;
--color-surface: #191B0D;
--color-border: #2E301E;
--color-text: #A7A884;
--color-muted: #84866A;
--color-primary: #7A7A06;
--color-on-primary: #FFFFFF;
--color-accent: #656A3E;
--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 #999919 | adjusted for contrast · from #303306 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #999919 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #808014 | adjusted for contrast · from #808014 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #66660F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.21:1 | AAA pass 4.5:1 | |
| Text on surface | 11.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 8.82:1 | AAA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 8.21:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12: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 | 5.70:1 | AA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large 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 | #303306 (Text 1) | #4D4D0A (Text 2) | #66660F (Text 3) | #808014 (Text 4) | #999919 (Text 5) |
|---|---|---|---|---|---|
| #303306 | Same color | 1.49— | 2.17— | 3.13AA Large | 4.32AA Large |
| #4D4D0A | 1.49— | Same color | 1.46— | 2.11— | 2.91— |
| #66660F | 2.17— | 1.46— | Same color | 1.44— | 1.99— |
| #808014 | 3.13AA Large | 2.11— | 1.44— | Same color | 1.38— |
| #999919 | 4.32AA Large | 2.91— | 1.99— | 1.38— | Same color |
Shades
Shades and tints (50–950)
