PreviewingGo to this paletteOpen in generator
Code
/* Olive Moss — colorset.net */
:root {
--color-1: #4B5320;
--color-2: #556B2F;
--color-3: #6B8E23;
--color-4: #808000;
--color-5: #9ACD32;
--color-bg: #F3FAEB;
--color-surface: #EAF0E2;
--color-border: #D0D8C7;
--color-text: #4B5320;
--color-muted: #686E53;
--color-primary: #5D7F09;
--color-on-primary: #FFFFFF;
--color-accent: #556B2F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E1103;
--color-surface: #181B0B;
--color-border: #2C301C;
--color-text: #B0BF9D;
--color-muted: #7C876D;
--color-primary: #5D7F09;
--color-on-primary: #FFFFFF;
--color-accent: #9ACD32;
--color-on-accent: #0E1103;
}
}
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 #9ACD32 | adjusted for contrast · from #4B5320 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #9ACD32 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6B8E23 | adjusted for contrast · from #6B8E23 |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.70:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.37:1 | AA Large pass 3:1 | |
| Accent on background | 5.58:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.80:1 | AAA pass 4.5:1 | |
| Text on surface | 8.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 10.14:1 | AAA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 10.14: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 | #4B5320 (Text 1) | #556B2F (Text 2) | #6B8E23 (Text 3) | #808000 (Text 4) | #9ACD32 (Text 5) |
|---|---|---|---|---|---|
| #4B5320 | Same color | 1.38— | 2.16— | 1.96— | 4.36AA Large |
| #556B2F | 1.38— | Same color | 1.56— | 1.42— | 3.16AA Large |
| #6B8E23 | 2.16— | 1.56— | Same color | 1.10— | 2.02— |
| #808000 | 1.96— | 1.42— | 1.10— | Same color | 2.23— |
| #9ACD32 | 4.36AA Large | 3.16AA Large | 2.02— | 2.23— | Same color |
Shades
Shades and tints (50–950)
