PreviewingGo to this paletteOpen in generator
Code
/* Smoky Gray — colorset.net */
:root {
--color-1: #696969;
--color-2: #8B4513;
--color-3: #228B22;
--color-4: #87CEEB;
--color-5: #F4A460;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E2;
--color-text: #76401C;
--color-muted: #7F6557;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #AE6316;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #A1CADB;
--color-muted: #688794;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #F4A460;
--color-on-accent: #1B0A03;
}
}
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 #87CEEB | adjusted for contrast · from #8B4513 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B4513 | adjusted for contrast · from #87CEEB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8B4513 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 4.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.98:1 | AAA pass 4.5:1 | |
| Text on surface | 10.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 9.46:1 | AAA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 9.46: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 | #696969 (Text 1) | #8B4513 (Text 2) | #228B22 (Text 3) | #87CEEB (Text 4) | #F4A460 (Text 5) |
|---|---|---|---|---|---|
| #696969 | Same color | 1.29— | 1.25— | 3.15AA Large | 2.70— |
| #8B4513 | 1.29— | Same color | 1.62— | 4.08AA Large | 3.49AA Large |
| #228B22 | 1.25— | 1.62— | Same color | 2.52— | 2.16— |
| #87CEEB | 3.15AA Large | 4.08AA Large | 2.52— | Same color | 1.17— |
| #F4A460 | 2.70— | 3.49AA Large | 2.16— | 1.17— | Same color |
Shades
Shades and tints (50–950)
