PreviewingGo to this paletteOpen in generator
Code
/* Vanilla Ice — colorset.net */
:root {
--color-1: #F3E5AB;
--color-2: #F8EDCE;
--color-3: #FAF0DC;
--color-4: #FFF8E7;
--color-5: #FFFEF5;
--color-bg: #FFFEF5;
--color-surface: #F6F5EC;
--color-border: #DDDCD0;
--color-text: #5F521A;
--color-muted: #767055;
--color-primary: #998C55;
--color-on-primary: #000000;
--color-accent: #8F8E86;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F02;
--color-surface: #1E1908;
--color-border: #332E19;
--color-text: #FFFEF5;
--color-muted: #908F87;
--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.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 6.24:1 | AA pass 4.5:1 | |
| Label on accent | 6.38:1 | AA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.91:1 | AAA pass 4.5:1 | |
| Text on surface | 17.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.89: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) | #F8EDCE (Text 2) | #FAF0DC (Text 3) | #FFF8E7 (Text 4) | #FFFEF5 (Text 5) |
|---|---|---|---|---|---|
| #F3E5AB | Same color | 1.08— | 1.12— | 1.19— | 1.25— |
| #F8EDCE | 1.08— | Same color | 1.03— | 1.10— | 1.15— |
| #FAF0DC | 1.12— | 1.03— | Same color | 1.07— | 1.12— |
| #FFF8E7 | 1.19— | 1.10— | 1.07— | Same color | 1.05— |
| #FFFEF5 | 1.25— | 1.15— | 1.12— | 1.05— | Same color |
Shades
Shades and tints (50–950)
