PreviewingGo to this paletteOpen in generator
Code
/* Olive Terrace — colorset.net */
:root {
--color-1: #33691E;
--color-2: #689F38;
--color-3: #8BC34A;
--color-4: #AED581;
--color-5: #C5E1A5;
--color-bg: #F3FAEC;
--color-surface: #E9F0E2;
--color-border: #D0D8C7;
--color-text: #325724;
--color-muted: #5E6F59;
--color-primary: #4E8315;
--color-on-primary: #FFFFFF;
--color-accent: #647C45;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071304;
--color-surface: #111D0D;
--color-border: #24331F;
--color-text: #CCDDBA;
--color-muted: #7C886E;
--color-primary: #689F38;
--color-on-primary: #071304;
--color-accent: #AED581;
--color-on-accent: #071304;
}
}
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 #C5E1A5 | adjusted for contrast · from #33691E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #33691E | adjusted for contrast · from #C5E1A5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #33691E | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #33691E | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 4.66:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 4.37:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.24:1 | AAA pass 4.5:1 | |
| Text on surface | 12.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 11.44:1 | AAA pass 4.5:1 | |
| Primary on background | 5.98:1 | AA pass 3:1 | |
| Accent on background | 11.44: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 | #33691E (Text 1) | #689F38 (Text 2) | #8BC34A (Text 3) | #AED581 (Text 4) | #C5E1A5 (Text 5) |
|---|---|---|---|---|---|
| #33691E | Same color | 2.08— | 3.15AA Large | 3.97AA Large | 4.62AA |
| #689F38 | 2.08— | Same color | 1.51— | 1.91— | 2.22— |
| #8BC34A | 3.15AA Large | 1.51— | Same color | 1.26— | 1.47— |
| #AED581 | 3.97AA Large | 1.91— | 1.26— | Same color | 1.16— |
| #C5E1A5 | 4.62AA | 2.22— | 1.47— | 1.16— | Same color |
Shades
Shades and tints (50–950)
