PreviewingGo to this paletteOpen in generator
Code
/* Hemlock Shade — colorset.net */
:root {
--color-1: #0A2A0A;
--color-2: #1A4A1A;
--color-3: #2A6A2A;
--color-4: #4A8A4A;
--color-5: #6ABAAA;
--color-bg: #E9FCF7;
--color-surface: #E0F2EE;
--color-border: #C4DBD5;
--color-text: #0A2A0A;
--color-muted: #5D715C;
--color-primary: #448444;
--color-on-primary: #FFFFFF;
--color-accent: #2F8274;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A2A0A;
--color-surface: #163615;
--color-border: #364935;
--color-text: #99C7BC;
--color-muted: #7DA098;
--color-primary: #4A8A4A;
--color-on-primary: #000000;
--color-accent: #6ABAAA;
--color-on-accent: #0A2A0A;
}
}
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 #6ABAAA | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #6ABAAA |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4A8A4A | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4A8A4A | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.63:1 | AAA pass 4.5:1 | |
| Text on surface | 13.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.60:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 4.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.34:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.45:1 | AA pass 4.5:1 | |
| Label on primary | 5.03:1 | AA pass 4.5:1 | |
| Label on accent | 6.84:1 | AA pass 4.5:1 | |
| Primary on background | 3.73:1 | AA Large pass 3:1 | |
| Accent on background | 6.84:1 | AA 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 | #0A2A0A (Text 1) | #1A4A1A (Text 2) | #2A6A2A (Text 3) | #4A8A4A (Text 4) | #6ABAAA (Text 5) |
|---|---|---|---|---|---|
| #0A2A0A | Same color | 1.51— | 2.37— | 3.73AA Large | 6.84AA |
| #1A4A1A | 1.51— | Same color | 1.57— | 2.47— | 4.52AA |
| #2A6A2A | 2.37— | 1.57— | Same color | 1.57— | 2.89— |
| #4A8A4A | 3.73AA Large | 2.47— | 1.57— | Same color | 1.83— |
| #6ABAAA | 6.84AA | 4.52AA | 2.89— | 1.83— | Same color |
Shades
Shades and tints (50–950)
