PreviewingGo to this paletteOpen in generator
Code
/* Apricot Silk — colorset.net */
:root {
--color-1: #FBCEB1;
--color-2: #FFD7BA;
--color-3: #FFE0C2;
--color-4: #FFE8D1;
--color-5: #FFF0E0;
--color-bg: #FFF0E0;
--color-surface: #FFF9F2;
--color-border: #E8D7C4;
--color-text: #6F4930;
--color-muted: #826959;
--color-primary: #AC8368;
--color-on-primary: #000000;
--color-accent: #74543E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180C05;
--color-surface: #23160E;
--color-border: #3A2A1F;
--color-text: #FFF0E0;
--color-muted: #948778;
--color-primary: #FBCEB1;
--color-on-primary: #180C05;
--color-accent: #BE9A83;
--color-on-accent: #180C05;
}
}
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 #FBCEB1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FBCEB1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FBCEB1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FBCEB1 | adjusted for contrast · from #FBCEB1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.03:1 | AAA pass 4.5:1 | |
| Text on surface | 7.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.57:1 | AA pass 4.5:1 | |
| Label on primary | 6.20:1 | AA pass 4.5:1 | |
| Label on accent | 6.82:1 | AA pass 4.5:1 | |
| Primary on background | 3.03:1 | AA Large pass 3:1 | |
| Accent on background | 6.10:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.18:1 | AAA pass 4.5:1 | |
| Text on surface | 15.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.48:1 | AA pass 4.5:1 | |
| Label on primary | 13.32:1 | AAA pass 4.5:1 | |
| Label on accent | 7.44:1 | AAA pass 4.5:1 | |
| Primary on background | 13.32:1 | AAA pass 3:1 | |
| Accent on background | 7.44: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 | #FBCEB1 (Text 1) | #FFD7BA (Text 2) | #FFE0C2 (Text 3) | #FFE8D1 (Text 4) | #FFF0E0 (Text 5) |
|---|---|---|---|---|---|
| #FBCEB1 | Same color | 1.08— | 1.15— | 1.22— | 1.29— |
| #FFD7BA | 1.08— | Same color | 1.06— | 1.13— | 1.20— |
| #FFE0C2 | 1.15— | 1.06— | Same color | 1.06— | 1.13— |
| #FFE8D1 | 1.22— | 1.13— | 1.06— | Same color | 1.06— |
| #FFF0E0 | 1.29— | 1.20— | 1.13— | 1.06— | Same color |
Shades
Shades and tints (50–950)
