PreviewingGo to this paletteOpen in generator
Code
/* Soft Olive — colorset.net */
:root {
--color-1: #F7F7F2;
--color-2: #5E6B3A;
--color-3: #C46F4E;
--color-4: #CFCDBF;
--color-5: #23251E;
--color-bg: #F7F7F2;
--color-surface: #EEEEE9;
--color-border: #D5D5CD;
--color-text: #23251E;
--color-muted: #6B6D65;
--color-primary: #B3603F;
--color-on-primary: #FFFFFF;
--color-accent: #5E6B3A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #23251E;
--color-surface: #2E3029;
--color-border: #43473C;
--color-text: #F7F7F2;
--color-muted: #979792;
--color-primary: #C46F4E;
--color-on-primary: #000000;
--color-accent: #72804E;
--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 #C46F4E | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #5E6B3A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.42:1 | AAA pass 4.5:1 | |
| Text on surface | 13.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.88:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 5.37:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.42:1 | AAA pass 4.5:1 | |
| Text on surface | 12.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 5.73:1 | AA pass 4.5:1 | |
| Label on accent | 4.91:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 3.63: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 | #F7F7F2 (Text 1) | #5E6B3A (Text 2) | #C46F4E (Text 3) | #CFCDBF (Text 4) | #23251E (Text 5) |
|---|---|---|---|---|---|
| #F7F7F2 | Same color | 5.37AA | 3.41AA Large | 1.49— | 14.42AAA |
| #5E6B3A | 5.37AA | Same color | 1.57— | 3.61AA Large | 2.69— |
| #C46F4E | 3.41AA Large | 1.57— | Same color | 2.29— | 4.23AA Large |
| #CFCDBF | 1.49— | 3.61AA Large | 2.29— | Same color | 9.70AAA |
| #23251E | 14.42AAA | 2.69— | 4.23AA Large | 9.70AAA | Same color |
Shades
Shades and tints (50–950)
