PreviewingGo to this paletteOpen in generator
Code
/* Linen Neutral — colorset.net */
:root {
--color-1: #F7F3EB;
--color-2: #797065;
--color-3: #295233;
--color-4: #C5BDB0;
--color-5: #221E1A;
--color-bg: #F7F3EB;
--color-surface: #FDFAF6;
--color-border: #E0DACF;
--color-text: #221E1A;
--color-muted: #716C67;
--color-primary: #295233;
--color-on-primary: #FFFFFF;
--color-accent: #8E8A83;
--color-on-accent: #221E1A;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #221E1A;
--color-surface: #2D2925;
--color-border: #453E37;
--color-text: #F7F3EB;
--color-muted: #95928A;
--color-primary: #537D5C;
--color-on-primary: #FFFFFF;
--color-accent: #C5BDB0;
--color-on-accent: #221E1A;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #797065 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #797065 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.96:1 | AAA pass 4.5:1 | |
| Text on surface | 15.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 8.94:1 | AAA pass 4.5:1 | |
| Label on accent | 4.82:1 | AA pass 4.5:1 | |
| Primary on background | 8.08:1 | AAA pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.96:1 | AAA pass 4.5:1 | |
| Text on surface | 13.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 4.71:1 | AA pass 4.5:1 | |
| Label on accent | 8.89:1 | AAA pass 4.5:1 | |
| Primary on background | 3.51:1 | AA Large pass 3:1 | |
| Accent on background | 8.89: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 | #F7F3EB (Text 1) | #797065 (Text 2) | #295233 (Text 3) | #C5BDB0 (Text 4) | #221E1A (Text 5) |
|---|---|---|---|---|---|
| #F7F3EB | Same color | 4.39AA Large | 8.08AAA | 1.68— | 14.96AAA |
| #797065 | 4.39AA Large | Same color | 1.84— | 2.61— | 3.40AA Large |
| #295233 | 8.08AAA | 1.84— | Same color | 4.80AA | 1.85— |
| #C5BDB0 | 1.68— | 2.61— | 4.80AA | Same color | 8.89AAA |
| #221E1A | 14.96AAA | 3.40AA Large | 1.85— | 8.89AAA | Same color |
Shades
Shades and tints (50–950)
