PreviewingGo to this paletteOpen in generator
Code
/* Woodsmoke — colorset.net */
:root {
--color-1: #5E5E5E;
--color-2: #737373;
--color-3: #8A8A8A;
--color-4: #A0A0A0;
--color-5: #B6B6B6;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #4D4D4D;
--color-muted: #6A6A6A;
--color-primary: #737373;
--color-on-primary: #FFFFFF;
--color-accent: #888888;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #B6B6B6;
--color-muted: #818181;
--color-primary: #737373;
--color-on-primary: #FFFFFF;
--color-accent: #A0A0A0;
--color-on-accent: #0F0F0F;
}
}
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 #B6B6B6 | adjusted for contrast · from #5E5E5E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5E5E5E | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8A8A8A | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.74:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 4.43:1 | AA Large pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.45:1 | AAA pass 4.5:1 | |
| Text on surface | 8.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.74:1 | AA pass 4.5:1 | |
| Label on accent | 7.33:1 | AAA pass 4.5:1 | |
| Primary on background | 4.04:1 | AA Large pass 3:1 | |
| Accent on background | 7.33: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 | #5E5E5E (Text 1) | #737373 (Text 2) | #8A8A8A (Text 3) | #A0A0A0 (Text 4) | #B6B6B6 (Text 5) |
|---|---|---|---|---|---|
| #5E5E5E | Same color | 1.37— | 1.88— | 2.48— | 3.20AA Large |
| #737373 | 1.37— | Same color | 1.37— | 1.81— | 2.34— |
| #8A8A8A | 1.88— | 1.37— | Same color | 1.32— | 1.70— |
| #A0A0A0 | 2.48— | 1.81— | 1.32— | Same color | 1.29— |
| #B6B6B6 | 3.20AA Large | 2.34— | 1.70— | 1.29— | Same color |
Shades
Shades and tints (50–950)
