PreviewingGo to this paletteOpen in generator
Code
/* Ivory Linen Sheet — colorset.net */
:root {
--color-1: #FAF0E6;
--color-2: #FDF5EB;
--color-3: #FFFAF0;
--color-4: #FFFDF5;
--color-5: #FFFEFA;
--color-bg: #FFFEFA;
--color-surface: #F6F5F1;
--color-border: #DEDCD4;
--color-text: #595149;
--color-muted: #776E65;
--color-primary: #948A81;
--color-on-primary: #000000;
--color-accent: #615952;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110F0C;
--color-surface: #1C1916;
--color-border: #322D28;
--color-text: #FFFEFA;
--color-muted: #908F8B;
--color-primary: #FAF0E6;
--color-on-primary: #110F0C;
--color-accent: #C1B9B1;
--color-on-accent: #110F0C;
}
}
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 5 | adjusted for contrast · from #FAF0E6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FAF0E6 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FAF0E6 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FAF0E6 | adjusted for contrast · from #FAF0E6 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.21:1 | AA pass 4.5:1 | |
| Label on accent | 6.86:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 6.80:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.96:1 | AAA pass 4.5:1 | |
| Text on surface | 17.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.91:1 | AA pass 4.5:1 | |
| Label on primary | 17.01:1 | AAA pass 4.5:1 | |
| Label on accent | 9.88:1 | AAA pass 4.5:1 | |
| Primary on background | 17.01:1 | AAA pass 3:1 | |
| Accent on background | 9.88: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 | #FAF0E6 (Text 1) | #FDF5EB (Text 2) | #FFFAF0 (Text 3) | #FFFDF5 (Text 4) | #FFFEFA (Text 5) |
|---|---|---|---|---|---|
| #FAF0E6 | Same color | 1.04— | 1.08— | 1.10— | 1.11— |
| #FDF5EB | 1.04— | Same color | 1.04— | 1.06— | 1.07— |
| #FFFAF0 | 1.08— | 1.04— | Same color | 1.02— | 1.03— |
| #FFFDF5 | 1.10— | 1.06— | 1.02— | Same color | 1.01— |
| #FFFEFA | 1.11— | 1.07— | 1.03— | 1.01— | Same color |
Shades
Shades and tints (50–950)
