PreviewingGo to this paletteOpen in generator
Code
/* Linen Fold — colorset.net */
:root {
--color-1: #F5F1EA;
--color-2: #7A5236;
--color-3: #7FA27D;
--color-4: #C9BFB1;
--color-5: #2B2622;
--color-bg: #F5F1EA;
--color-surface: #FBF9F4;
--color-border: #DED8CE;
--color-text: #2B2622;
--color-muted: #716B66;
--color-primary: #70936E;
--color-on-primary: #000000;
--color-accent: #7A5236;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110F0E;
--color-surface: #1B1918;
--color-border: #312D29;
--color-text: #F5F1EA;
--color-muted: #8C8882;
--color-primary: #7FA27D;
--color-on-primary: #110F0E;
--color-accent: #865D41;
--color-on-accent: #FFFFFF;
}
}
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 #2B2622 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #7FA27D | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #7A5236 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.29:1 | AAA pass 4.5:1 | |
| Text on surface | 14.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.67:1 | AA pass 4.5:1 | |
| Label on primary | 6.09:1 | AA pass 4.5:1 | |
| Label on accent | 6.80:1 | AA pass 4.5:1 | |
| Primary on background | 3.06:1 | AA Large pass 3:1 | |
| Accent on background | 6.04:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.98:1 | AAA pass 4.5:1 | |
| Text on surface | 15.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.42:1 | AA pass 4.5:1 | |
| Label on primary | 6.71:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 6.71:1 | AA pass 3:1 | |
| Accent on background | 3.33:1 | AA Large 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 | #F5F1EA (Text 1) | #7A5236 (Text 2) | #7FA27D (Text 3) | #C9BFB1 (Text 4) | #2B2622 (Text 5) |
|---|---|---|---|---|---|
| #F5F1EA | Same color | 6.04AA | 2.53— | 1.61— | 13.29AAA |
| #7A5236 | 6.04AA | Same color | 2.39— | 3.75AA Large | 2.20— |
| #7FA27D | 2.53— | 2.39— | Same color | 1.57— | 5.25AA |
| #C9BFB1 | 1.61— | 3.75AA Large | 1.57— | Same color | 8.25AAA |
| #2B2622 | 13.29AAA | 2.20— | 5.25AA | 8.25AAA | Same color |
Shades
Shades and tints (50–950)
