PreviewingGo to this paletteOpen in generator
Code
/* Vanilla Bean — colorset.net */
:root {
--color-1: #F3E5AB;
--color-2: #F8EDB8;
--color-3: #FDF6C5;
--color-4: #FFFED2;
--color-5: #EEDD9F;
--color-bg: #F8F8EB;
--color-surface: #EFEEE2;
--color-border: #D6D6C6;
--color-text: #5D4E0D;
--color-muted: #726B51;
--color-primary: #86763A;
--color-on-primary: #FFFFFF;
--color-accent: #8C8B63;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F01;
--color-surface: #1E1907;
--color-border: #342E17;
--color-text: #FEFED7;
--color-muted: #908F73;
--color-primary: #EEDD9F;
--color-on-primary: #140F01;
--color-accent: #B4A774;
--color-on-accent: #140F01;
}
}
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 | adjusted for contrast · from #FFFED2 | adjusted for contrast · from #EEDD9F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #EEDD9F | adjusted for contrast · from #FFFED2 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #EEDD9F | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #EEDD9F | adjusted for contrast · from #EEDD9F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 5.99:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.55:1 | AAA pass 4.5:1 | |
| Text on surface | 17.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.79:1 | AA pass 4.5:1 | |
| Label on primary | 14.09:1 | AAA pass 4.5:1 | |
| Label on accent | 7.94:1 | AAA pass 4.5:1 | |
| Primary on background | 14.09:1 | AAA pass 3:1 | |
| Accent on background | 7.94: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 | #F3E5AB (Text 1) | #F8EDB8 (Text 2) | #FDF6C5 (Text 3) | #FFFED2 (Text 4) | #EEDD9F (Text 5) |
|---|---|---|---|---|---|
| #F3E5AB | Same color | 1.07— | 1.15— | 1.23— | 1.07— |
| #F8EDB8 | 1.07— | Same color | 1.08— | 1.14— | 1.15— |
| #FDF6C5 | 1.15— | 1.08— | Same color | 1.06— | 1.24— |
| #FFFED2 | 1.23— | 1.14— | 1.06— | Same color | 1.32— |
| #EEDD9F | 1.07— | 1.15— | 1.24— | 1.32— | Same color |
Shades
Shades and tints (50–950)
