PreviewingGo to this paletteOpen in generator
Code
/* Moss Gray — colorset.net */
:root {
--color-1: #6B7F72;
--color-2: #7A8F85;
--color-3: #9BAA9D;
--color-4: #C4D4C9;
--color-5: #E0EBE3;
--color-bg: #F4F8F5;
--color-surface: #EBEEEC;
--color-border: #D0D7D2;
--color-text: #3F5145;
--color-muted: #5B6F62;
--color-primary: #6B7F72;
--color-on-primary: #000000;
--color-accent: #3E4E44;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B110D;
--color-surface: #151B17;
--color-border: #27312A;
--color-text: #E0EBE3;
--color-muted: #7C867F;
--color-primary: #6B7F72;
--color-on-primary: #000000;
--color-accent: #C4D4C9;
--color-on-accent: #0B110D;
}
}
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 #E0EBE3 | adjusted for contrast · from #6B7F72 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6B7F72 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6B7F72 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.92:1 | AAA pass 4.5:1 | |
| Text on surface | 7.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.90:1 | AA pass 4.5:1 | |
| Label on accent | 8.83:1 | AAA pass 4.5:1 | |
| Primary on background | 4.00:1 | AA Large pass 3:1 | |
| Accent on background | 8.24:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.60:1 | AAA pass 4.5:1 | |
| Text on surface | 14.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.90:1 | AA pass 4.5:1 | |
| Label on accent | 12.37:1 | AAA pass 4.5:1 | |
| Primary on background | 4.46:1 | AA Large pass 3:1 | |
| Accent on background | 12.37: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 | #6B7F72 (Text 1) | #7A8F85 (Text 2) | #9BAA9D (Text 3) | #C4D4C9 (Text 4) | #E0EBE3 (Text 5) |
|---|---|---|---|---|---|
| #6B7F72 | Same color | 1.24— | 1.76— | 2.77— | 3.50AA Large |
| #7A8F85 | 1.24— | Same color | 1.42— | 2.23— | 2.82— |
| #9BAA9D | 1.76— | 1.42— | Same color | 1.58— | 1.99— |
| #C4D4C9 | 2.77— | 2.23— | 1.58— | Same color | 1.26— |
| #E0EBE3 | 3.50AA Large | 2.82— | 1.99— | 1.26— | Same color |
Shades
Shades and tints (50–950)
