PreviewingGo to this paletteOpen in generator
Code
/* Olive Orchard — colorset.net */
:root {
--color-1: #228B22;
--color-2: #6B8E23;
--color-3: #808000;
--color-4: #BDB76B;
--color-5: #F0E68C;
--color-bg: #F9F8E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #2C592A;
--color-muted: #5C705B;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #827814;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #E8E4BF;
--color-muted: #888569;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #F0E68C;
--color-on-accent: #061305;
}
}
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 #F0E68C | adjusted for contrast · from #228B22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #228B22 | adjusted for contrast · from #F0E68C |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #808000 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.76:1 | AAA pass 4.5:1 | |
| Text on surface | 13.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 14.87:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 14.87: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 | #228B22 (Text 1) | #6B8E23 (Text 2) | #808000 (Text 3) | #BDB76B (Text 4) | #F0E68C (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 1.15— | 1.05— | 2.12— | 3.43AA Large |
| #6B8E23 | 1.15— | Same color | 1.10— | 1.84— | 2.97— |
| #808000 | 1.05— | 1.10— | Same color | 2.03— | 3.28AA Large |
| #BDB76B | 2.12— | 1.84— | 2.03— | Same color | 1.62— |
| #F0E68C | 3.43AA Large | 2.97— | 3.28AA Large | 1.62— | Same color |
Shades
Shades and tints (50–950)
