PreviewingGo to this paletteOpen in generator
Code
/* Linen Afternoon — colorset.net */
:root {
--color-1: #EEE7D9;
--color-2: #DAC7AE;
--color-3: #CAAA92;
--color-4: #B1C4AC;
--color-5: #A07E6B;
--color-bg: #F9F6F2;
--color-surface: #EFEDE9;
--color-border: #D8D4CD;
--color-text: #674836;
--color-muted: #7F6557;
--color-primary: #A07E6B;
--color-on-primary: #000000;
--color-accent: #7A8C75;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170D07;
--color-surface: #211711;
--color-border: #382A22;
--color-text: #EEE7D9;
--color-muted: #898376;
--color-primary: #A07E6B;
--color-on-primary: #170D07;
--color-accent: #DAC7AE;
--color-on-accent: #170D07;
}
}
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 #EEE7D9 | adjusted for contrast · from #A07E6B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A07E6B | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A07E6B | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.69:1 | AA pass 4.5:1 | |
| Label on accent | 5.84:1 | AA pass 4.5:1 | |
| Primary on background | 3.42:1 | AA Large pass 3:1 | |
| Accent on background | 3.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.56:1 | AAA pass 4.5:1 | |
| Text on surface | 14.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.19:1 | AA pass 4.5:1 | |
| Label on accent | 11.63:1 | AAA pass 4.5:1 | |
| Primary on background | 5.19:1 | AA pass 3:1 | |
| Accent on background | 11.63: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 | #EEE7D9 (Text 1) | #DAC7AE (Text 2) | #CAAA92 (Text 3) | #B1C4AC (Text 4) | #A07E6B (Text 5) |
|---|---|---|---|---|---|
| #EEE7D9 | Same color | 1.34— | 1.76— | 1.50— | 3.00AA Large |
| #DAC7AE | 1.34— | Same color | 1.32— | 1.12— | 2.24— |
| #CAAA92 | 1.76— | 1.32— | Same color | 1.17— | 1.70— |
| #B1C4AC | 1.50— | 1.12— | 1.17— | Same color | 2.00— |
| #A07E6B | 3.00AA Large | 2.24— | 1.70— | 2.00— | Same color |
Shades
Shades and tints (50–950)
