PreviewingGo to this paletteOpen in generator
Code
/* Vanilla Soft — colorset.net */
:root {
--color-1: #F8F0D9;
--color-2: #FAF5E4;
--color-3: #FCF9EE;
--color-4: #FEFCF8;
--color-5: #FFFFFE;
--color-bg: #FFFFFE;
--color-surface: #F6F6F5;
--color-border: #DDDDD8;
--color-text: #58513E;
--color-muted: #766F5B;
--color-primary: #958D78;
--color-on-primary: #000000;
--color-accent: #625C4B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110F09;
--color-surface: #1C1913;
--color-border: #312E24;
--color-text: #FFFFFE;
--color-muted: #8F8F8F;
--color-primary: #F8F0D9;
--color-on-primary: #110F09;
--color-accent: #BFB9A6;
--color-on-accent: #110F09;
}
}
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 #F8F0D9 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F8F0D9 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F8F0D9 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F8F0D9 | adjusted for contrast · from #F8F0D9 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 6.36:1 | AA pass 4.5:1 | |
| Label on accent | 6.66:1 | AA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 6.66:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.15:1 | AAA pass 4.5:1 | |
| Text on surface | 17.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.92:1 | AA pass 4.5:1 | |
| Label on primary | 16.84:1 | AAA pass 4.5:1 | |
| Label on accent | 9.77:1 | AAA pass 4.5:1 | |
| Primary on background | 16.84:1 | AAA pass 3:1 | |
| Accent on background | 9.77: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 | #F8F0D9 (Text 1) | #FAF5E4 (Text 2) | #FCF9EE (Text 3) | #FEFCF8 (Text 4) | #FFFFFE (Text 5) |
|---|---|---|---|---|---|
| #F8F0D9 | Same color | 1.04— | 1.08— | 1.11— | 1.14— |
| #FAF5E4 | 1.04— | Same color | 1.04— | 1.06— | 1.09— |
| #FCF9EE | 1.08— | 1.04— | Same color | 1.03— | 1.05— |
| #FEFCF8 | 1.11— | 1.06— | 1.03— | Same color | 1.02— |
| #FFFFFE | 1.14— | 1.09— | 1.05— | 1.02— | Same color |
Shades
Shades and tints (50–950)
