PreviewingGo to this paletteOpen in generator
Code
/* Willow Gray — colorset.net */
:root {
--color-1: #8F9B8E;
--color-2: #A3AFA2;
--color-3: #B7C3B6;
--color-4: #CBD7CA;
--color-5: #DFEBDE;
--color-bg: #F4F8F4;
--color-surface: #EBEFEB;
--color-border: #D1D7D0;
--color-text: #475247;
--color-muted: #636E62;
--color-primary: #808C7F;
--color-on-primary: #000000;
--color-accent: #515A50;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D100D;
--color-surface: #171B17;
--color-border: #2A3029;
--color-text: #DFEBDE;
--color-muted: #7C877B;
--color-primary: #8F9B8E;
--color-on-primary: #0D100D;
--color-accent: #CBD7CA;
--color-on-accent: #0D100D;
}
}
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 #DFEBDE | adjusted for contrast · from #8F9B8E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8F9B8E | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8F9B8E | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8F9B8E | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 7.17:1 | AAA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 6.69:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.57:1 | AAA pass 4.5:1 | |
| Text on surface | 14.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 6.61:1 | AA pass 4.5:1 | |
| Label on accent | 12.86:1 | AAA pass 4.5:1 | |
| Primary on background | 6.61:1 | AA pass 3:1 | |
| Accent on background | 12.86: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 | #8F9B8E (Text 1) | #A3AFA2 (Text 2) | #B7C3B6 (Text 3) | #CBD7CA (Text 4) | #DFEBDE (Text 5) |
|---|---|---|---|---|---|
| #8F9B8E | Same color | 1.27— | 1.59— | 1.95— | 2.36— |
| #A3AFA2 | 1.27— | Same color | 1.25— | 1.53— | 1.85— |
| #B7C3B6 | 1.59— | 1.25— | Same color | 1.23— | 1.49— |
| #CBD7CA | 1.95— | 1.53— | 1.23— | Same color | 1.21— |
| #DFEBDE | 2.36— | 1.85— | 1.49— | 1.21— | Same color |
Shades
Shades and tints (50–950)
