PreviewingGo to this paletteOpen in generator
Code
/* Ivory Silk — colorset.net */
:root {
--color-1: #FFFFEE;
--color-2: #FFFFF0;
--color-3: #FFFFF2;
--color-4: #FFFFF4;
--color-5: #FFFFF6;
--color-bg: #FFFFF6;
--color-surface: #F6F6ED;
--color-border: #DDDDD1;
--color-text: #525244;
--color-muted: #707061;
--color-primary: #8F8F80;
--color-on-primary: #000000;
--color-accent: #5D5D51;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #10100B;
--color-surface: #1A1A15;
--color-border: #2E2E26;
--color-text: #FFFFF6;
--color-muted: #909088;
--color-primary: #FFFFEE;
--color-on-primary: #10100B;
--color-accent: #C7C7B9;
--color-on-accent: #10100B;
}
}
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 #FFFFEE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFFFEE | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFFFEE | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFFFEE | adjusted for contrast · from #FFFFEE |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.88:1 | AAA pass 4.5:1 | |
| Text on surface | 7.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 6.41:1 | AA pass 4.5:1 | |
| Label on accent | 6.67:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 6.63:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.97:1 | AAA pass 4.5:1 | |
| Text on surface | 17.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.93:1 | AA pass 4.5:1 | |
| Label on primary | 18.88:1 | AAA pass 4.5:1 | |
| Label on accent | 11.17:1 | AAA pass 4.5:1 | |
| Primary on background | 18.88:1 | AAA pass 3:1 | |
| Accent on background | 11.17: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 | #FFFFEE (Text 1) | #FFFFF0 (Text 2) | #FFFFF2 (Text 3) | #FFFFF4 (Text 4) | #FFFFF6 (Text 5) |
|---|---|---|---|---|---|
| #FFFFEE | Same color | 1.00— | 1.00— | 1.00— | 1.00— |
| #FFFFF0 | 1.00— | Same color | 1.00— | 1.00— | 1.00— |
| #FFFFF2 | 1.00— | 1.00— | Same color | 1.00— | 1.00— |
| #FFFFF4 | 1.00— | 1.00— | 1.00— | Same color | 1.00— |
| #FFFFF6 | 1.00— | 1.00— | 1.00— | 1.00— | Same color |
Shades
Shades and tints (50–950)
