PreviewingGo to this paletteOpen in generator
Code
/* Olive Trench — colorset.net */
:root {
--color-1: #1B1C0B;
--color-2: #96A054;
--color-3: #CD6E4C;
--color-4: #494A2A;
--color-5: #EEECDD;
--color-bg: #EEECDD;
--color-surface: #F4F3EA;
--color-border: #D6D4C1;
--color-text: #1B1C0B;
--color-muted: #6A6C58;
--color-primary: #B95C3A;
--color-on-primary: #FFFFFF;
--color-accent: #737B2F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B1C0B;
--color-surface: #262715;
--color-border: #3B3C27;
--color-text: #EEECDD;
--color-muted: #918F81;
--color-primary: #B95C3A;
--color-on-primary: #FFFFFF;
--color-accent: #96A054;
--color-on-accent: #1B1C0B;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CD6E4C | adjusted for contrast · from #CD6E4C |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #96A054 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.52:1 | AAA pass 4.5:1 | |
| Text on surface | 15.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.53:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 4.56:1 | AA pass 4.5:1 | |
| Primary on background | 3.80:1 | AA Large pass 3:1 | |
| Accent on background | 3.84:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.52:1 | AAA pass 4.5:1 | |
| Text on surface | 12.78:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 6.12:1 | AA pass 4.5:1 | |
| Primary on background | 3.82:1 | AA Large pass 3:1 | |
| Accent on background | 6.12:1 | AA 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 | #1B1C0B (Text 1) | #96A054 (Text 2) | #CD6E4C (Text 3) | #494A2A (Text 4) | #EEECDD (Text 5) |
|---|---|---|---|---|---|
| #1B1C0B | Same color | 6.12AA | 4.87AA | 1.89— | 14.52AAA |
| #96A054 | 6.12AA | Same color | 1.26— | 3.25AA Large | 2.37— |
| #CD6E4C | 4.87AA | 1.26— | Same color | 2.58— | 2.98— |
| #494A2A | 1.89— | 3.25AA Large | 2.58— | Same color | 7.70AAA |
| #EEECDD | 14.52AAA | 2.37— | 2.98— | 7.70AAA | Same color |
Shades
Shades and tints (50–950)
