PreviewingGo to this paletteOpen in generator
Code
/* Moss Linen — colorset.net */
:root {
--color-1: #EFEDE6;
--color-2: #6B7F4E;
--color-3: #B98B73;
--color-4: #CFC9BA;
--color-5: #2A2C24;
--color-bg: #EFEDE6;
--color-surface: #F5F4F0;
--color-border: #D7D4CA;
--color-text: #2A2C24;
--color-muted: #696B62;
--color-primary: #6B7F4E;
--color-on-primary: #000000;
--color-accent: #A97C64;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F100D;
--color-surface: #191A17;
--color-border: #2D2F29;
--color-text: #EFEDE6;
--color-muted: #888680;
--color-primary: #6B7F4E;
--color-on-primary: #000000;
--color-accent: #B98B73;
--color-on-accent: #0F100D;
}
}
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 #2A2C24 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B98B73 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.08:1 | AAA pass 4.5:1 | |
| Text on surface | 12.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 4.77:1 | AA pass 4.5:1 | |
| Label on accent | 5.75:1 | AA pass 4.5:1 | |
| Primary on background | 3.76:1 | AA Large pass 3:1 | |
| Accent on background | 3.12:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.29:1 | AAA pass 4.5:1 | |
| Text on surface | 14.92:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 4.77:1 | AA pass 4.5:1 | |
| Label on accent | 6.37:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 6.37:1 | AA 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 | #EFEDE6 (Text 1) | #6B7F4E (Text 2) | #B98B73 (Text 3) | #CFC9BA (Text 4) | #2A2C24 (Text 5) |
|---|---|---|---|---|---|
| #EFEDE6 | Same color | 3.76AA Large | 2.56— | 1.41— | 12.08AAA |
| #6B7F4E | 3.76AA Large | Same color | 1.47— | 2.67— | 3.21AA Large |
| #B98B73 | 2.56— | 1.47— | Same color | 1.82— | 4.72AA |
| #CFC9BA | 1.41— | 2.67— | 1.82— | Same color | 8.57AAA |
| #2A2C24 | 12.08AAA | 3.21AA Large | 4.72AA | 8.57AAA | Same color |
Shades
Shades and tints (50–950)
