PreviewingGo to this paletteOpen in generator
Code
/* Vanilla Yellow — colorset.net */
:root {
--color-1: #FDD835;
--color-2: #FBC02D;
--color-3: #F9A825;
--color-4: #F57F17;
--color-5: #E65100;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #793D27;
--color-muted: #81645A;
--color-primary: #CE4800;
--color-on-primary: #FFFFFF;
--color-accent: #8C7500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0A04;
--color-surface: #27140D;
--color-border: #3F271E;
--color-text: #E4DBB6;
--color-muted: #898267;
--color-primary: #CE4800;
--color-on-primary: #FFFFFF;
--color-accent: #FDD835;
--color-on-accent: #1C0A04;
}
}
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 #FDD835 | adjusted for contrast · from #E65100 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E65100 | adjusted for contrast · from #FDD835 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E65100 | adjusted for contrast · from #E65100 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E65100 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 4.20:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.80:1 | AAA pass 4.5:1 | |
| Text on surface | 12.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 13.75:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 13.75: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 | #FDD835 (Text 1) | #FBC02D (Text 2) | #F9A825 (Text 3) | #F57F17 (Text 4) | #E65100 (Text 5) |
|---|---|---|---|---|---|
| #FDD835 | Same color | 1.19— | 1.41— | 1.90— | 2.72— |
| #FBC02D | 1.19— | Same color | 1.19— | 1.60— | 2.29— |
| #F9A825 | 1.41— | 1.19— | Same color | 1.34— | 1.92— |
| #F57F17 | 1.90— | 1.60— | 1.34— | Same color | 1.43— |
| #E65100 | 2.72— | 2.29— | 1.92— | 1.43— | Same color |
Shades
Shades and tints (50–950)
