PreviewingGo to this paletteOpen in generator
Code
/* Smoked Glass — colorset.net */
:root {
--color-1: #24201C;
--color-2: #C9A66B;
--color-3: #B5523B;
--color-4: #4E463E;
--color-5: #EFE7DA;
--color-bg: #EFE7DA;
--color-surface: #F3EFE7;
--color-border: #D8CEBE;
--color-text: #24201C;
--color-muted: #6B6661;
--color-primary: #B5523B;
--color-on-primary: #FFFFFF;
--color-accent: #906F35;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #24201C;
--color-surface: #2F2B27;
--color-border: #474039;
--color-text: #EFE7DA;
--color-muted: #9A9286;
--color-primary: #BC5841;
--color-on-primary: #FFFFFF;
--color-accent: #C9A66B;
--color-on-accent: #24201C;
}
}
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 | from palette · color 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #B5523B |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B5523B | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.18:1 | AAA pass 4.5:1 | |
| Text on surface | 14.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 4.96:1 | AA pass 4.5:1 | |
| Label on accent | 4.66:1 | AA pass 4.5:1 | |
| Primary on background | 4.04:1 | AA Large pass 3:1 | |
| Accent on background | 3.79:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.18:1 | AAA pass 4.5:1 | |
| Text on surface | 11.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 7.05:1 | AAA pass 4.5:1 | |
| Primary on background | 3.55:1 | AA Large pass 3:1 | |
| Accent on background | 7.05: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 | #24201C (Text 1) | #C9A66B (Text 2) | #B5523B (Text 3) | #4E463E (Text 4) | #EFE7DA (Text 5) |
|---|---|---|---|---|---|
| #24201C | Same color | 7.05AAA | 3.26AA Large | 1.75— | 13.18AAA |
| #C9A66B | 7.05AAA | Same color | 2.16— | 4.03AA Large | 1.87— |
| #B5523B | 3.26AA Large | 2.16— | Same color | 1.87— | 4.04AA Large |
| #4E463E | 1.75— | 4.03AA Large | 1.87— | Same color | 7.54AAA |
| #EFE7DA | 13.18AAA | 1.87— | 4.04AA Large | 7.54AAA | Same color |
Shades
Shades and tints (50–950)
