PreviewingGo to this paletteOpen in generator
Code
/* Apricot Soft — colorset.net */
:root {
--color-1: #FFCBA4;
--color-2: #FFD7B8;
--color-3: #FFE3CC;
--color-4: #FFEFE0;
--color-5: #FFFBF4;
--color-bg: #FFFBF4;
--color-surface: #F6F2EB;
--color-border: #DFD9CF;
--color-text: #724622;
--color-muted: #816958;
--color-primary: #B0805B;
--color-on-primary: #000000;
--color-accent: #8F8B85;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190C03;
--color-surface: #24160A;
--color-border: #3C291B;
--color-text: #FFFBF4;
--color-muted: #918D87;
--color-primary: #FFCBA4;
--color-on-primary: #190C03;
--color-accent: #FFE3CC;
--color-on-accent: #190C03;
}
}
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 #FFCBA4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFCBA4 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFCBA4 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFCBA4 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.08:1 | AA pass 4.5:1 | |
| Label on accent | 6.20:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.59:1 | AAA pass 4.5:1 | |
| Text on surface | 17.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.81:1 | AA pass 4.5:1 | |
| Label on primary | 13.08:1 | AAA pass 4.5:1 | |
| Label on accent | 15.62:1 | AAA pass 4.5:1 | |
| Primary on background | 13.08:1 | AAA pass 3:1 | |
| Accent on background | 15.62: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 | #FFCBA4 (Text 1) | #FFD7B8 (Text 2) | #FFE3CC (Text 3) | #FFEFE0 (Text 4) | #FFFBF4 (Text 5) |
|---|---|---|---|---|---|
| #FFCBA4 | Same color | 1.09— | 1.19— | 1.30— | 1.42— |
| #FFD7B8 | 1.09— | Same color | 1.09— | 1.19— | 1.30— |
| #FFE3CC | 1.19— | 1.09— | Same color | 1.09— | 1.19— |
| #FFEFE0 | 1.30— | 1.19— | 1.09— | Same color | 1.09— |
| #FFFBF4 | 1.42— | 1.30— | 1.19— | 1.09— | Same color |
Shades
Shades and tints (50–950)
