PreviewingGo to this paletteOpen in generator
Code
/* Steel Grey — colorset.net */
:root {
--color-1: #E0E0E0;
--color-2: #CCCCCC;
--color-3: #B8B8B8;
--color-4: #A4A4A4;
--color-5: #909090;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #4E4E4E;
--color-muted: #6A6A6A;
--color-primary: #878787;
--color-on-primary: #000000;
--color-accent: #565656;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #E0E0E0;
--color-muted: #828282;
--color-primary: #909090;
--color-on-primary: #0F0F0F;
--color-accent: #CCCCCC;
--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 #E0E0E0 | adjusted for contrast · from #909090 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #909090 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #909090 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #909090 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 7.34:1 | AAA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 6.85:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.52:1 | AAA pass 4.5:1 | |
| Text on surface | 13.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 6.00:1 | AA pass 4.5:1 | |
| Label on accent | 11.94:1 | AAA pass 4.5:1 | |
| Primary on background | 6.00:1 | AA pass 3:1 | |
| Accent on background | 11.94: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 | #E0E0E0 (Text 1) | #CCCCCC (Text 2) | #B8B8B8 (Text 3) | #A4A4A4 (Text 4) | #909090 (Text 5) |
|---|---|---|---|---|---|
| #E0E0E0 | Same color | 1.22— | 1.50— | 1.89— | 2.42— |
| #CCCCCC | 1.22— | Same color | 1.24— | 1.55— | 1.99— |
| #B8B8B8 | 1.50— | 1.24— | Same color | 1.26— | 1.61— |
| #A4A4A4 | 1.89— | 1.55— | 1.26— | Same color | 1.28— |
| #909090 | 2.42— | 1.99— | 1.61— | 1.28— | Same color |
Shades
Shades and tints (50–950)
