PreviewingGo to this paletteOpen in generator
Code
/* Hemlock Green — colorset.net */
:root {
--color-1: #435F50;
--color-2: #577964;
--color-3: #6B9378;
--color-4: #7FAD8C;
--color-5: #93C7A0;
--color-bg: #EDFBF0;
--color-surface: #E4F2E7;
--color-border: #C9DACD;
--color-text: #385445;
--color-muted: #557162;
--color-primary: #689075;
--color-on-primary: #000000;
--color-accent: #577964;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #09120D;
--color-surface: #131C17;
--color-border: #24312A;
--color-text: #A1C2A9;
--color-muted: #708976;
--color-primary: #6B9378;
--color-on-primary: #09120D;
--color-accent: #516D5E;
--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 #93C7A0 | adjusted for contrast · from #435F50 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #435F50 | adjusted for contrast · from #93C7A0 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6B9378 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #577964 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.83:1 | AA pass 4.5:1 | |
| Label on accent | 4.86:1 | AA pass 4.5:1 | |
| Primary on background | 3.37:1 | AA Large pass 3:1 | |
| Accent on background | 4.55:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.79:1 | AAA pass 4.5:1 | |
| Text on surface | 8.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.50:1 | AA pass 4.5:1 | |
| Label on accent | 5.68:1 | AA pass 4.5:1 | |
| Primary on background | 5.50:1 | AA pass 3:1 | |
| Accent on background | 3.35: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 | #435F50 (Text 1) | #577964 (Text 2) | #6B9378 (Text 3) | #7FAD8C (Text 4) | #93C7A0 (Text 5) |
|---|---|---|---|---|---|
| #435F50 | Same color | 1.45— | 2.03— | 2.76— | 3.65AA Large |
| #577964 | 1.45— | Same color | 1.40— | 1.91— | 2.52— |
| #6B9378 | 2.03— | 1.40— | Same color | 1.36— | 1.80— |
| #7FAD8C | 2.76— | 1.91— | 1.36— | Same color | 1.32— |
| #93C7A0 | 3.65AA Large | 2.52— | 1.80— | 1.32— | Same color |
Shades
Shades and tints (50–950)
