PreviewingGo to this paletteOpen in generator
Code
/* Olive Branch — colorset.net */
:root {
--color-1: #7F8471;
--color-2: #96A085;
--color-3: #ADBAA1;
--color-4: #C4D1BD;
--color-5: #8B9980;
--color-bg: #F4F8F2;
--color-surface: #EBEFE9;
--color-border: #D1D7CE;
--color-text: #4C503F;
--color-muted: #686D5B;
--color-primary: #7F8471;
--color-on-primary: #000000;
--color-accent: #4F5344;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F100B;
--color-surface: #191A14;
--color-border: #2D2F26;
--color-text: #C4D1BD;
--color-muted: #798573;
--color-primary: #7F8471;
--color-on-primary: #0F100B;
--color-accent: #ADBAA1;
--color-on-accent: #0F100B;
}
}
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 #C4D1BD | adjusted for contrast · from #7F8471 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #7F8471 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7F8471 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.44:1 | AA pass 4.5:1 | |
| Label on accent | 7.91:1 | AAA pass 4.5:1 | |
| Primary on background | 3.59:1 | AA Large pass 3:1 | |
| Accent on background | 7.37:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.01:1 | AAA pass 4.5:1 | |
| Text on surface | 11.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.95:1 | AA pass 4.5:1 | |
| Label on accent | 9.38:1 | AAA pass 4.5:1 | |
| Primary on background | 4.95:1 | AA pass 3:1 | |
| Accent on background | 9.38: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 | #7F8471 (Text 1) | #96A085 (Text 2) | #ADBAA1 (Text 3) | #C4D1BD (Text 4) | #8B9980 (Text 5) |
|---|---|---|---|---|---|
| #7F8471 | Same color | 1.41— | 1.90— | 2.43— | 1.28— |
| #96A085 | 1.41— | Same color | 1.35— | 1.72— | 1.10— |
| #ADBAA1 | 1.90— | 1.35— | Same color | 1.28— | 1.48— |
| #C4D1BD | 2.43— | 1.72— | 1.28— | Same color | 1.90— |
| #8B9980 | 1.28— | 1.10— | 1.48— | 1.90— | Same color |
Shades
Shades and tints (50–950)
