PreviewingGo to this paletteOpen in generator
Code
/* Cream Vanilla — colorset.net */
:root {
--color-1: #FFFAFA;
--color-2: #FFF8DC;
--color-3: #FFFACD;
--color-4: #FFEFD5;
--color-5: #FFE4CD;
--color-bg: #FFFAFA;
--color-surface: #F6F1F1;
--color-border: #E0D7D7;
--color-text: #624C39;
--color-muted: #7F6956;
--color-primary: #928D64;
--color-on-primary: #000000;
--color-accent: #5F5B3B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E08;
--color-surface: #1F1811;
--color-border: #362C22;
--color-text: #FFFAFA;
--color-muted: #918C8C;
--color-primary: #FFFACD;
--color-on-primary: #150E08;
--color-accent: #C6C29D;
--color-on-accent: #150E08;
}
}
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 #FFE4CD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFE4CD | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFE4CD | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFE4CD | adjusted for contrast · from #FFE4CD |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 6.22:1 | AA pass 4.5:1 | |
| Label on accent | 6.89:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 6.67:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.49:1 | AAA pass 4.5:1 | |
| Text on surface | 16.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.77:1 | AA pass 4.5:1 | |
| Label on primary | 18.04:1 | AAA pass 4.5:1 | |
| Label on accent | 10.57:1 | AAA pass 4.5:1 | |
| Primary on background | 18.04:1 | AAA pass 3:1 | |
| Accent on background | 10.57: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 | #FFFAFA (Text 1) | #FFF8DC (Text 2) | #FFFACD (Text 3) | #FFEFD5 (Text 4) | #FFE4CD (Text 5) |
|---|---|---|---|---|---|
| #FFFAFA | Same color | 1.03— | 1.03— | 1.09— | 1.18— |
| #FFF8DC | 1.03— | Same color | 1.00— | 1.06— | 1.14— |
| #FFFACD | 1.03— | 1.00— | Same color | 1.07— | 1.15— |
| #FFEFD5 | 1.09— | 1.06— | 1.07— | Same color | 1.08— |
| #FFE4CD | 1.18— | 1.14— | 1.15— | 1.08— | Same color |
Shades
Shades and tints (50–950)
