PreviewingGo to this paletteOpen in generator
Code
/* Thundercloud — colorset.net */
:root {
--color-1: #E0E0E0;
--color-2: #BDBDBD;
--color-3: #9E9E9E;
--color-4: #757575;
--color-5: #616161;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #4E4E4E;
--color-muted: #6A6A6A;
--color-primary: #757575;
--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: #E0E0E0;
--color-muted: #828282;
--color-primary: #757575;
--color-on-primary: #FFFFFF;
--color-accent: #BDBDBD;
--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 #616161 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #616161 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #757575 | 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 | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.31:1 | AA Large 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 | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 10.20:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 10.20: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) | #BDBDBD (Text 2) | #9E9E9E (Text 3) | #757575 (Text 4) | #616161 (Text 5) |
|---|---|---|---|---|---|
| #E0E0E0 | Same color | 1.42— | 2.03— | 3.49AA Large | 4.69AA |
| #BDBDBD | 1.42— | Same color | 1.43— | 2.45— | 3.30AA Large |
| #9E9E9E | 2.03— | 1.43— | Same color | 1.72— | 2.31— |
| #757575 | 3.49AA Large | 2.45— | 1.72— | Same color | 1.34— |
| #616161 | 4.69AA | 3.30AA Large | 2.31— | 1.34— | Same color |
Shades
Shades and tints (50–950)
