PreviewingGo to this paletteOpen in generator
Code
/* Apricot Sorbet — colorset.net */
:root {
--color-1: #FBCEB1;
--color-2: #FFD7B8;
--color-3: #FFE0C0;
--color-4: #FFE9C8;
--color-5: #FFF2D0;
--color-bg: #FFF2D0;
--color-surface: #FFFAEC;
--color-border: #E4D9BD;
--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: #FFF2D0;
--color-muted: #93886E;
--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.06:1 | AAA pass 4.5:1 | |
| Text on surface | 7.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.59: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.04:1 | AA Large pass 3:1 | |
| Accent on background | 6.12:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.25:1 | AAA pass 4.5:1 | |
| Text on surface | 15.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.47: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) | #FFD7B8 (Text 2) | #FFE0C0 (Text 3) | #FFE9C8 (Text 4) | #FFF2D0 (Text 5) |
|---|---|---|---|---|---|
| #FBCEB1 | Same color | 1.08— | 1.14— | 1.22— | 1.30— |
| #FFD7B8 | 1.08— | Same color | 1.06— | 1.13— | 1.20— |
| #FFE0C0 | 1.14— | 1.06— | Same color | 1.06— | 1.13— |
| #FFE9C8 | 1.22— | 1.13— | 1.06— | Same color | 1.06— |
| #FFF2D0 | 1.30— | 1.20— | 1.13— | 1.06— | Same color |
Shades
Shades and tints (50–950)
