PreviewingGo to this paletteOpen in generator
Code
/* Juniper Hedge — colorset.net */
:root {
--color-1: #3A5F4C;
--color-2: #4C735D;
--color-3: #5F876E;
--color-4: #739F84;
--color-5: #8AB899;
--color-bg: #EDFBF1;
--color-surface: #E4F2E8;
--color-border: #C9DACE;
--color-text: #325744;
--color-muted: #567263;
--color-primary: #5F876E;
--color-on-primary: #000000;
--color-accent: #4C735D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #07120C;
--color-surface: #111D16;
--color-border: #223229;
--color-text: #93B59E;
--color-muted: #718B79;
--color-primary: #5F876E;
--color-on-primary: #07120C;
--color-accent: #4B705D;
--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 | adjusted for contrast · from #8AB899 | adjusted for contrast · from #3A5F4C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #3A5F4C | adjusted for contrast · from #8AB899 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #4C735D |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 5.18:1 | AA pass 4.5:1 | |
| Label on accent | 5.36:1 | AA pass 4.5:1 | |
| Primary on background | 3.80:1 | AA Large pass 3:1 | |
| Accent on background | 5.02:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.49:1 | AAA pass 4.5:1 | |
| Text on surface | 7.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 5.56:1 | AA pass 4.5:1 | |
| Primary on background | 4.70:1 | AA pass 3:1 | |
| Accent on background | 3.43: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 | #3A5F4C (Text 1) | #4C735D (Text 2) | #5F876E (Text 3) | #739F84 (Text 4) | #8AB899 (Text 5) |
|---|---|---|---|---|---|
| #3A5F4C | Same color | 1.34— | 1.77— | 2.40— | 3.22AA Large |
| #4C735D | 1.34— | Same color | 1.32— | 1.79— | 2.40— |
| #5F876E | 1.77— | 1.32— | Same color | 1.36— | 1.81— |
| #739F84 | 2.40— | 1.79— | 1.36— | Same color | 1.34— |
| #8AB899 | 3.22AA Large | 2.40— | 1.81— | 1.34— | Same color |
Shades
Shades and tints (50–950)
