PreviewingGo to this paletteOpen in generator
Code
/* Ice Gray — colorset.net */
:root {
--color-1: #F5F5F5;
--color-2: #E0FFFF;
--color-3: #C0C0C0;
--color-4: #A9A9A9;
--color-5: #808080;
--color-bg: #E0FFFF;
--color-surface: #D7F6F6;
--color-border: #BBDEDE;
--color-text: #505050;
--color-muted: #6C6C6C;
--color-primary: #808080;
--color-on-primary: #000000;
--color-accent: #505050;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #E0FFFF;
--color-muted: #769292;
--color-primary: #808080;
--color-on-primary: #0F0F0F;
--color-accent: #C0C0C0;
--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 | from palette · color 2 | adjusted for contrast · from #808080 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #808080 | from palette · color 2 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #808080 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.32:1 | AA pass 4.5:1 | |
| Label on accent | 8.06:1 | AAA pass 4.5:1 | |
| Primary on background | 3.75:1 | AA Large pass 3:1 | |
| Accent on background | 7.65:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.18:1 | AAA pass 4.5:1 | |
| Text on surface | 16.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.75:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 10.54:1 | AAA pass 4.5:1 | |
| Primary on background | 4.85:1 | AA pass 3:1 | |
| Accent on background | 10.54: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 | #F5F5F5 (Text 1) | #E0FFFF (Text 2) | #C0C0C0 (Text 3) | #A9A9A9 (Text 4) | #808080 (Text 5) |
|---|---|---|---|---|---|
| #F5F5F5 | Same color | 1.03— | 1.67— | 2.16— | 3.62AA Large |
| #E0FFFF | 1.03— | Same color | 1.73— | 2.23— | 3.75AA Large |
| #C0C0C0 | 1.67— | 1.73— | Same color | 1.29— | 2.17— |
| #A9A9A9 | 2.16— | 2.23— | 1.29— | Same color | 1.68— |
| #808080 | 3.62AA Large | 3.75AA Large | 2.17— | 1.68— | Same color |
Shades
Shades and tints (50–950)
