PreviewingGo to this paletteOpen in generator
Code
/* Olive Brown — colorset.net */
:root {
--color-1: #3C3B2E;
--color-2: #534D41;
--color-3: #6B6B47;
--color-4: #8B8B5C;
--color-5: #B0AD7F;
--color-bg: #F8F8E9;
--color-surface: #EFEEE0;
--color-border: #D7D6C4;
--color-text: #3C3B2E;
--color-muted: #6B6A5C;
--color-primary: #8B8B5C;
--color-on-primary: #000000;
--color-accent: #534D41;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #10100B;
--color-surface: #1A1A15;
--color-border: #2F2E26;
--color-text: #AFAD88;
--color-muted: #868569;
--color-primary: #8B8B5C;
--color-on-primary: #10100B;
--color-accent: #686759;
--color-on-accent: #FFFFFF;
}
}
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 #B0AD7F | adjusted for contrast · from #3C3B2E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #B0AD7F |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #6B6B47 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.55:1 | AAA pass 4.5:1 | |
| Text on surface | 9.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 5.95:1 | AA pass 4.5:1 | |
| Label on accent | 8.38:1 | AAA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 7.82:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.32:1 | AAA pass 4.5:1 | |
| Text on surface | 7.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.40:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 5.40:1 | AA pass 3:1 | |
| Accent on background | 3.34: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 | #3C3B2E (Text 1) | #534D41 (Text 2) | #6B6B47 (Text 3) | #8B8B5C (Text 4) | #B0AD7F (Text 5) |
|---|---|---|---|---|---|
| #3C3B2E | Same color | 1.35— | 2.06— | 3.20AA Large | 4.92AA |
| #534D41 | 1.35— | Same color | 1.52— | 2.37— | 3.64AA Large |
| #6B6B47 | 2.06— | 1.52— | Same color | 1.56— | 2.39— |
| #8B8B5C | 3.20AA Large | 2.37— | 1.56— | Same color | 1.54— |
| #B0AD7F | 4.92AA | 3.64AA Large | 2.39— | 1.54— | Same color |
Shades
Shades and tints (50–950)
