PreviewingGo to this paletteOpen in generator
Code
/* Lunar Dust — colorset.net */
:root {
--color-1: #D5DBDB;
--color-2: #CCD1D1;
--color-3: #BFC9CA;
--color-4: #AEB6BF;
--color-5: #A6ACAF;
--color-bg: #F5F7F7;
--color-surface: #ECEEEE;
--color-border: #D0D6D6;
--color-text: #494E51;
--color-muted: #656B6E;
--color-primary: #82878A;
--color-on-primary: #000000;
--color-accent: #525658;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E1011;
--color-surface: #181A1B;
--color-border: #2A2F31;
--color-text: #D5DBDB;
--color-muted: #7E8383;
--color-primary: #A6ACAF;
--color-on-primary: #0E1011;
--color-accent: #BFC9CA;
--color-on-accent: #0E1011;
}
}
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 #D5DBDB | adjusted for contrast · from #A6ACAF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A6ACAF | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A6ACAF | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A6ACAF | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.78:1 | AA pass 4.5:1 | |
| Label on accent | 7.42:1 | AAA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 6.90:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.61:1 | AAA pass 4.5:1 | |
| Text on surface | 12.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 8.30:1 | AAA pass 4.5:1 | |
| Label on accent | 11.28:1 | AAA pass 4.5:1 | |
| Primary on background | 8.30:1 | AAA pass 3:1 | |
| Accent on background | 11.28: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 | #D5DBDB (Text 1) | #CCD1D1 (Text 2) | #BFC9CA (Text 3) | #AEB6BF (Text 4) | #A6ACAF (Text 5) |
|---|---|---|---|---|---|
| #D5DBDB | Same color | 1.10— | 1.21— | 1.46— | 1.64— |
| #CCD1D1 | 1.10— | Same color | 1.10— | 1.33— | 1.49— |
| #BFC9CA | 1.21— | 1.10— | Same color | 1.21— | 1.36— |
| #AEB6BF | 1.46— | 1.33— | 1.21— | Same color | 1.12— |
| #A6ACAF | 1.64— | 1.49— | 1.36— | 1.12— | Same color |
Shades
Shades and tints (50–950)
