PreviewingGo to this paletteOpen in generator
Code
/* Antique Ivory — colorset.net */
:root {
--color-1: #FFFFF0;
--color-2: #FFFAF0;
--color-3: #FFF8DC;
--color-4: #FFEFD5;
--color-5: #FFE4B5;
--color-bg: #FFFFF0;
--color-surface: #F6F6E7;
--color-border: #DDDDCB;
--color-text: #654E23;
--color-muted: #7C6E55;
--color-primary: #A1885C;
--color-on-primary: #000000;
--color-accent: #6B5734;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E03;
--color-surface: #20180A;
--color-border: #362C1B;
--color-text: #FFFFF0;
--color-muted: #909082;
--color-primary: #FFE4B5;
--color-on-primary: #150E03;
--color-accent: #C4AE88;
--color-on-accent: #150E03;
}
}
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 #FFE4B5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFE4B5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFE4B5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFE4B5 | adjusted for contrast · from #FFE4B5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 6.19:1 | AA pass 4.5:1 | |
| Label on accent | 6.91:1 | AA pass 4.5:1 | |
| Primary on background | 3.36:1 | AA Large pass 3:1 | |
| Accent on background | 6.85:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.99:1 | AAA pass 4.5:1 | |
| Text on surface | 17.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.93:1 | AA pass 4.5:1 | |
| Label on primary | 15.53:1 | AAA pass 4.5:1 | |
| Label on accent | 8.90:1 | AAA pass 4.5:1 | |
| Primary on background | 15.53:1 | AAA pass 3:1 | |
| Accent on background | 8.90: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 | #FFFFF0 (Text 1) | #FFFAF0 (Text 2) | #FFF8DC (Text 3) | #FFEFD5 (Text 4) | #FFE4B5 (Text 5) |
|---|---|---|---|---|---|
| #FFFFF0 | Same color | 1.03— | 1.06— | 1.12— | 1.22— |
| #FFFAF0 | 1.03— | Same color | 1.02— | 1.09— | 1.19— |
| #FFF8DC | 1.06— | 1.02— | Same color | 1.06— | 1.16— |
| #FFEFD5 | 1.12— | 1.09— | 1.06— | Same color | 1.09— |
| #FFE4B5 | 1.22— | 1.19— | 1.16— | 1.09— | Same color |
Shades
Shades and tints (50–950)
