PreviewingGo to this paletteOpen in generator
Code
/* Juniper Green — colorset.net */
:root {
--color-1: #3F704D;
--color-2: #538E61;
--color-3: #67AC75;
--color-4: #7BCA89;
--color-5: #8FE89D;
--color-bg: #EEFBEF;
--color-surface: #E5F1E6;
--color-border: #CADACC;
--color-text: #285937;
--color-muted: #59715F;
--color-primary: #478256;
--color-on-primary: #FFFFFF;
--color-accent: #429A54;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #051309;
--color-surface: #0E1E12;
--color-border: #203325;
--color-text: #BAD9BE;
--color-muted: #738A75;
--color-primary: #478256;
--color-on-primary: #FFFFFF;
--color-accent: #8FE89D;
--color-on-accent: #051309;
}
}
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 #8FE89D | adjusted for contrast · from #3F704D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #3F704D | adjusted for contrast · from #8FE89D |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #538E61 | adjusted for contrast · from #538E61 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #538E61 | 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 | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.47:1 | AAA pass 4.5:1 | |
| Text on surface | 11.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 12.87:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 12.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 | #3F704D (Text 1) | #538E61 (Text 2) | #67AC75 (Text 3) | #7BCA89 (Text 4) | #8FE89D (Text 5) |
|---|---|---|---|---|---|
| #3F704D | Same color | 1.49— | 2.13— | 2.93— | 3.90AA Large |
| #538E61 | 1.49— | Same color | 1.43— | 1.97— | 2.62— |
| #67AC75 | 2.13— | 1.43— | Same color | 1.38— | 1.84— |
| #7BCA89 | 2.93— | 1.97— | 1.38— | Same color | 1.33— |
| #8FE89D | 3.90AA Large | 2.62— | 1.84— | 1.33— | Same color |
Shades
Shades and tints (50–950)
