PreviewingGo to this paletteOpen in generator
Code
/* Cloud White — colorset.net */
:root {
--color-1: #F0F8FF;
--color-2: #F5F5F5;
--color-3: #DCDCDC;
--color-4: #C0C0C0;
--color-5: #A9A9A9;
--color-bg: #F0F8FF;
--color-surface: #E7EFF6;
--color-border: #CCD6E0;
--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: #F0F8FF;
--color-muted: #858C93;
--color-primary: #A9A9A9;
--color-on-primary: #0F0F0F;
--color-accent: #DCDCDC;
--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 1 | adjusted for contrast · from #A9A9A9 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A9A9A9 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A9A9A9 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A9A9A9 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04: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.84:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.87:1 | AAA pass 4.5:1 | |
| Text on surface | 16.39:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.63:1 | AA pass 4.5:1 | |
| Label on primary | 8.16:1 | AAA pass 4.5:1 | |
| Label on accent | 13.98:1 | AAA pass 4.5:1 | |
| Primary on background | 8.16:1 | AAA pass 3:1 | |
| Accent on background | 13.98: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 | #F0F8FF (Text 1) | #F5F5F5 (Text 2) | #DCDCDC (Text 3) | #C0C0C0 (Text 4) | #A9A9A9 (Text 5) |
|---|---|---|---|---|---|
| #F0F8FF | Same color | 1.02— | 1.28— | 1.70— | 2.19— |
| #F5F5F5 | 1.02— | Same color | 1.26— | 1.67— | 2.16— |
| #DCDCDC | 1.28— | 1.26— | Same color | 1.33— | 1.71— |
| #C0C0C0 | 1.70— | 1.67— | 1.33— | Same color | 1.29— |
| #A9A9A9 | 2.19— | 2.16— | 1.71— | 1.29— | Same color |
Shades
Shades and tints (50–950)
