PreviewingGo to this paletteOpen in generator
Code
/* Olive Credenza — colorset.net */
:root {
--color-1: #EFEADB;
--color-2: #6E7A3A;
--color-3: #C8553D;
--color-4: #A9C1C4;
--color-5: #24261F;
--color-bg: #EFEADB;
--color-surface: #F4F1E8;
--color-border: #D8D1BF;
--color-text: #24261F;
--color-muted: #676961;
--color-primary: #C5523A;
--color-on-primary: #FFFFFF;
--color-accent: #6E7A3A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F100D;
--color-surface: #191A17;
--color-border: #2D2F29;
--color-text: #EFEADB;
--color-muted: #898477;
--color-primary: #C5523A;
--color-on-primary: #FFFFFF;
--color-accent: #6E7A3A;
--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 | from palette · color 1 | adjusted for contrast · from #24261F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C8553D | adjusted for contrast · from #C8553D |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.73:1 | AAA pass 4.5:1 | |
| Text on surface | 13.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 4.66:1 | AA pass 4.5:1 | |
| Primary on background | 3.76:1 | AA Large pass 3:1 | |
| Accent on background | 3.87:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.87:1 | AAA pass 4.5:1 | |
| Text on surface | 14.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 4.66:1 | AA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 4.10: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 | #EFEADB (Text 1) | #6E7A3A (Text 2) | #C8553D (Text 3) | #A9C1C4 (Text 4) | #24261F (Text 5) |
|---|---|---|---|---|---|
| #EFEADB | Same color | 3.87AA Large | 3.62AA Large | 1.57— | 12.73AAA |
| #6E7A3A | 3.87AA Large | Same color | 1.07— | 2.47— | 3.29AA Large |
| #C8553D | 3.62AA Large | 1.07— | Same color | 2.30— | 3.51AA Large |
| #A9C1C4 | 1.57— | 2.47— | 2.30— | Same color | 8.10AAA |
| #24261F | 12.73AAA | 3.29AA Large | 3.51AA Large | 8.10AAA | Same color |
Shades
Shades and tints (50–950)
