PreviewingGo to this paletteOpen in generator
Code
/* Vanilla Light — colorset.net */
:root {
--color-1: #F3E5AB;
--color-2: #F7EBBA;
--color-3: #FBF1C9;
--color-4: #FFF7D8;
--color-5: #FFFDE7;
--color-bg: #FFFDE7;
--color-surface: #F6F4DE;
--color-border: #DDDBC2;
--color-text: #5C4F16;
--color-muted: #746D53;
--color-primary: #998C55;
--color-on-primary: #000000;
--color-accent: #655A2E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F02;
--color-surface: #1E1908;
--color-border: #332E19;
--color-text: #FFFDE7;
--color-muted: #918F7B;
--color-primary: #F3E5AB;
--color-on-primary: #130F02;
--color-accent: #BAAE7F;
--color-on-accent: #130F02;
}
}
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 #F3E5AB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F3E5AB | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F3E5AB | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F3E5AB | adjusted for contrast · from #F3E5AB |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.91:1 | AAA pass 4.5:1 | |
| Text on surface | 7.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 6.24:1 | AA pass 4.5:1 | |
| Label on accent | 6.87:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 6.70:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.65:1 | AAA pass 4.5:1 | |
| Text on surface | 17.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.85:1 | AA pass 4.5:1 | |
| Label on primary | 15.14:1 | AAA pass 4.5:1 | |
| Label on accent | 8.61:1 | AAA pass 4.5:1 | |
| Primary on background | 15.14:1 | AAA pass 3:1 | |
| Accent on background | 8.61: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) | #F7EBBA (Text 2) | #FBF1C9 (Text 3) | #FFF7D8 (Text 4) | #FFFDE7 (Text 5) |
|---|---|---|---|---|---|
| #F3E5AB | Same color | 1.06— | 1.12— | 1.18— | 1.23— |
| #F7EBBA | 1.06— | Same color | 1.06— | 1.11— | 1.17— |
| #FBF1C9 | 1.12— | 1.06— | Same color | 1.06— | 1.10— |
| #FFF7D8 | 1.18— | 1.11— | 1.06— | Same color | 1.05— |
| #FFFDE7 | 1.23— | 1.17— | 1.10— | 1.05— | Same color |
Shades
Shades and tints (50–950)
