PreviewingGo to this paletteOpen in generator
Code
/* Olive Sage — colorset.net */
:root {
--color-1: #87A96B;
--color-2: #98B47C;
--color-3: #A9BF8D;
--color-4: #BACA9E;
--color-5: #769E5A;
--color-bg: #F4F9EC;
--color-surface: #EBF0E2;
--color-border: #D1D8C7;
--color-text: #37551E;
--color-muted: #606E56;
--color-primary: #597F3D;
--color-on-primary: #FFFFFF;
--color-accent: #808E65;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091304;
--color-surface: #131D0C;
--color-border: #26321D;
--color-text: #BCC9A5;
--color-muted: #7C866C;
--color-primary: #769E5A;
--color-on-primary: #091304;
--color-accent: #98B47C;
--color-on-accent: #091304;
}
}
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 #BACA9E | adjusted for contrast · from #769E5A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #769E5A | adjusted for contrast · from #BACA9E |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #769E5A | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #769E5A | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.97:1 | AA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.88:1 | AAA pass 4.5:1 | |
| Text on surface | 9.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 6.15:1 | AA pass 4.5:1 | |
| Label on accent | 8.27:1 | AAA pass 4.5:1 | |
| Primary on background | 6.15:1 | AA pass 3:1 | |
| Accent on background | 8.27: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 | #87A96B (Text 1) | #98B47C (Text 2) | #A9BF8D (Text 3) | #BACA9E (Text 4) | #769E5A (Text 5) |
|---|---|---|---|---|---|
| #87A96B | Same color | 1.16— | 1.33— | 1.52— | 1.16— |
| #98B47C | 1.16— | Same color | 1.15— | 1.31— | 1.34— |
| #A9BF8D | 1.33— | 1.15— | Same color | 1.14— | 1.55— |
| #BACA9E | 1.52— | 1.31— | 1.14— | Same color | 1.77— |
| #769E5A | 1.16— | 1.34— | 1.55— | 1.77— | Same color |
Shades
Shades and tints (50–950)
