PreviewingGo to this paletteOpen in generator
Code
/* Apricot Marmalade — colorset.net */
:root {
--color-1: #FBCEB1;
--color-2: #FFB347;
--color-3: #FFC966;
--color-4: #FFD699;
--color-5: #FFE4B5;
--color-bg: #FEF6E8;
--color-surface: #F4ECDF;
--color-border: #DDD4C3;
--color-text: #6E4604;
--color-muted: #7A6852;
--color-primary: #A36A00;
--color-on-primary: #FFFFFF;
--color-accent: #9E8559;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190C00;
--color-surface: #231706;
--color-border: #3A2A16;
--color-text: #F9E5C3;
--color-muted: #908168;
--color-primary: #FFB347;
--color-on-primary: #190C00;
--color-accent: #FFD699;
--color-on-accent: #190C00;
}
}
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 | adjusted for contrast · from #FFE4B5 | adjusted for contrast · from #FFB347 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFB347 | adjusted for contrast · from #FFE4B5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFB347 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFB347 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.70:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.56:1 | AAA pass 4.5:1 | |
| Text on surface | 14.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 10.78:1 | AAA pass 4.5:1 | |
| Label on accent | 14.01:1 | AAA pass 4.5:1 | |
| Primary on background | 10.78:1 | AAA pass 3:1 | |
| Accent on background | 14.01: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) | #FFB347 (Text 2) | #FFC966 (Text 3) | #FFD699 (Text 4) | #FFE4B5 (Text 5) |
|---|---|---|---|---|---|
| #FBCEB1 | Same color | 1.24— | 1.06— | 1.05— | 1.17— |
| #FFB347 | 1.24— | Same color | 1.17— | 1.30— | 1.44— |
| #FFC966 | 1.06— | 1.17— | Same color | 1.11— | 1.23— |
| #FFD699 | 1.05— | 1.30— | 1.11— | Same color | 1.11— |
| #FFE4B5 | 1.17— | 1.44— | 1.23— | 1.11— | Same color |
Shades
Shades and tints (50–950)
