PreviewingGo to this paletteOpen in generator
Code
/* Olive Grove — colorset.net */
:root {
--color-1: #F4F2E6;
--color-2: #6B6B2A;
--color-3: #C25E3C;
--color-4: #DDDBC4;
--color-5: #24241A;
--color-bg: #F4F2E6;
--color-surface: #FAF9F2;
--color-border: #DCD9CA;
--color-text: #24241A;
--color-muted: #6D6D61;
--color-primary: #BB5836;
--color-on-primary: #FFFFFF;
--color-accent: #6B6B2A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #24241A;
--color-surface: #2F2F25;
--color-border: #454537;
--color-text: #F4F2E6;
--color-muted: #99978C;
--color-primary: #C25E3C;
--color-on-primary: #000000;
--color-accent: #7C7D3C;
--color-on-accent: #000000;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C25E3C | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #6B6B2A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.92:1 | AAA pass 4.5:1 | |
| Text on surface | 14.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.58:1 | AA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large pass 3:1 | |
| Accent on background | 4.97:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.92:1 | AAA pass 4.5:1 | |
| Text on surface | 12.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 4.96:1 | AA pass 4.5:1 | |
| Label on accent | 4.86:1 | AA pass 4.5:1 | |
| Primary on background | 3.70:1 | AA Large pass 3:1 | |
| Accent on background | 3.62: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 | #F4F2E6 (Text 1) | #6B6B2A (Text 2) | #C25E3C (Text 3) | #DDDBC4 (Text 4) | #24241A (Text 5) |
|---|---|---|---|---|---|
| #F4F2E6 | Same color | 4.97AA | 3.77AA Large | 1.25— | 13.92AAA |
| #6B6B2A | 4.97AA | Same color | 1.32— | 3.99AA Large | 2.80— |
| #C25E3C | 3.77AA Large | 1.32— | Same color | 3.02AA Large | 3.70AA Large |
| #DDDBC4 | 1.25— | 3.99AA Large | 3.02AA Large | Same color | 11.18AAA |
| #24241A | 13.92AAA | 2.80— | 3.70AA Large | 11.18AAA | Same color |
Shades
Shades and tints (50–950)
