PreviewingGo to this paletteOpen in generator
Code
/* Apricot Cream — colorset.net */
:root {
--color-1: #FFFAF0;
--color-2: #FED7AA;
--color-3: #F6AD55;
--color-4: #ED8936;
--color-5: #DD6B20;
--color-bg: #FFFAF0;
--color-surface: #F6F1E7;
--color-border: #DED8CB;
--color-text: #7B4223;
--color-muted: #83685B;
--color-primary: #DD6B20;
--color-on-primary: #000000;
--color-accent: #8F8A81;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281C;
--color-text: #FFFAF0;
--color-muted: #918D84;
--color-primary: #DD6B20;
--color-on-primary: #1B0A03;
--color-accent: #FED7AA;
--color-on-accent: #1B0A03;
}
}
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 1 | adjusted for contrast · from #DD6B20 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DD6B20 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DD6B20 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 6.20:1 | AA pass 4.5:1 | |
| Label on accent | 6.12:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.50:1 | AAA pass 4.5:1 | |
| Text on surface | 17.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.82:1 | AA pass 4.5:1 | |
| Label on primary | 5.68:1 | AA pass 4.5:1 | |
| Label on accent | 14.22:1 | AAA pass 4.5:1 | |
| Primary on background | 5.68:1 | AA pass 3:1 | |
| Accent on background | 14.22: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 | #FFFAF0 (Text 1) | #FED7AA (Text 2) | #F6AD55 (Text 3) | #ED8936 (Text 4) | #DD6B20 (Text 5) |
|---|---|---|---|---|---|
| #FFFAF0 | Same color | 1.30— | 1.83— | 2.45— | 3.26AA Large |
| #FED7AA | 1.30— | Same color | 1.41— | 1.88— | 2.50— |
| #F6AD55 | 1.83— | 1.41— | Same color | 1.34— | 1.78— |
| #ED8936 | 2.45— | 1.88— | 1.34— | Same color | 1.33— |
| #DD6B20 | 3.26AA Large | 2.50— | 1.78— | 1.33— | Same color |
Shades
Shades and tints (50–950)
