PreviewingGo to this paletteOpen in generator
Code
/* Ivory Cream — colorset.net */
:root {
--color-1: #F5F5DC;
--color-2: #FFFACD;
--color-3: #FFF8DC;
--color-4: #FFEFD5;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #5D503A;
--color-muted: #7C6E57;
--color-primary: #959067;
--color-on-primary: #000000;
--color-accent: #625E3D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F08;
--color-surface: #1D1911;
--color-border: #332D22;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #FFFACD;
--color-on-primary: #130F08;
--color-accent: #C6C29D;
--color-on-accent: #130F08;
}
}
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 #FFEFD5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFEFD5 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFEFD5 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFEFD5 | adjusted for contrast · from #FFEFD5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.85:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.46:1 | AA pass 4.5:1 | |
| Label on accent | 6.59:1 | AA pass 4.5:1 | |
| Primary on background | 3.25:1 | AA Large pass 3:1 | |
| Accent on background | 6.59:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.10:1 | AAA pass 4.5:1 | |
| Text on surface | 17.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.91:1 | AA pass 4.5:1 | |
| Label on primary | 18.01:1 | AAA pass 4.5:1 | |
| Label on accent | 10.55:1 | AAA pass 4.5:1 | |
| Primary on background | 18.01:1 | AAA pass 3:1 | |
| Accent on background | 10.55: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 | #F5F5DC (Text 1) | #FFFACD (Text 2) | #FFF8DC (Text 3) | #FFEFD5 (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #F5F5DC | Same color | 1.04— | 1.04— | 1.02— | 1.11— |
| #FFFACD | 1.04— | Same color | 1.00— | 1.07— | 1.06— |
| #FFF8DC | 1.04— | 1.00— | Same color | 1.06— | 1.07— |
| #FFEFD5 | 1.02— | 1.07— | 1.06— | Same color | 1.13— |
| #FFFFFF | 1.11— | 1.06— | 1.07— | 1.13— | Same color |
Shades
Shades and tints (50–950)
