PreviewingGo to this paletteOpen in generator
Code
/* Vanilla Cream — colorset.net */
:root {
--color-1: #FFF8DC;
--color-2: #FFFAED;
--color-3: #FFFBFE;
--color-4: #FFFCFF;
--color-5: #FFFEFF;
--color-bg: #FFFEFF;
--color-surface: #F6F5F6;
--color-border: #DFDBDF;
--color-text: #58523A;
--color-muted: #767057;
--color-primary: #928C72;
--color-on-primary: #000000;
--color-accent: #5F5B46;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110F08;
--color-surface: #1B1912;
--color-border: #312E23;
--color-text: #FFFEFF;
--color-muted: #908F90;
--color-primary: #FFF8DC;
--color-on-primary: #110F08;
--color-accent: #C6C0AA;
--color-on-accent: #110F08;
}
}
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 #FFF8DC |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFF8DC | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFF8DC | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFF8DC | adjusted for contrast · from #FFF8DC |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 6.22:1 | AA pass 4.5:1 | |
| Label on accent | 6.84:1 | AA pass 4.5:1 | |
| Primary on background | 3.36:1 | AA Large pass 3:1 | |
| Accent on background | 6.80:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.05:1 | AAA pass 4.5:1 | |
| Text on surface | 17.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.95:1 | AA pass 4.5:1 | |
| Label on primary | 17.99:1 | AAA pass 4.5:1 | |
| Label on accent | 10.52:1 | AAA pass 4.5:1 | |
| Primary on background | 17.99:1 | AAA pass 3:1 | |
| Accent on background | 10.52: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 | #FFF8DC (Text 1) | #FFFAED (Text 2) | #FFFBFE (Text 3) | #FFFCFF (Text 4) | #FFFEFF (Text 5) |
|---|---|---|---|---|---|
| #FFF8DC | Same color | 1.02— | 1.04— | 1.05— | 1.06— |
| #FFFAED | 1.02— | Same color | 1.02— | 1.02— | 1.04— |
| #FFFBFE | 1.04— | 1.02— | Same color | 1.01— | 1.02— |
| #FFFCFF | 1.05— | 1.02— | 1.01— | Same color | 1.01— |
| #FFFEFF | 1.06— | 1.04— | 1.02— | 1.01— | Same color |
Shades
Shades and tints (50–950)
