PreviewingGo to this paletteOpen in generator
Code
/* Ice Yellow — colorset.net */
:root {
--color-1: #E0FFFF;
--color-2: #AFEEEE;
--color-3: #FFFF00;
--color-4: #FFE135;
--color-5: #FFC947;
--color-bg: #E0FFFF;
--color-surface: #D7F6F6;
--color-border: #BBDEDE;
--color-text: #664C00;
--color-muted: #776B52;
--color-primary: #8F8F00;
--color-on-primary: #000000;
--color-accent: #589495;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160E00;
--color-surface: #211805;
--color-border: #372C15;
--color-text: #E0FFFF;
--color-muted: #769292;
--color-primary: #FFFF00;
--color-on-primary: #160E00;
--color-accent: #AFEEEE;
--color-on-accent: #160E00;
}
}
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 1 | adjusted for contrast · from #FFC947 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFC947 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFC947 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #AFEEEE | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 6.08:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.16:1 | AAA pass 4.5:1 | |
| Text on surface | 16.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.74:1 | AA pass 4.5:1 | |
| Label on primary | 17.83:1 | AAA pass 4.5:1 | |
| Label on accent | 14.85:1 | AAA pass 4.5:1 | |
| Primary on background | 17.83:1 | AAA pass 3:1 | |
| Accent on background | 14.85: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 | #E0FFFF (Text 1) | #AFEEEE (Text 2) | #FFFF00 (Text 3) | #FFE135 (Text 4) | #FFC947 (Text 5) |
|---|---|---|---|---|---|
| #E0FFFF | Same color | 1.22— | 1.02— | 1.24— | 1.45— |
| #AFEEEE | 1.22— | Same color | 1.20— | 1.01— | 1.19— |
| #FFFF00 | 1.02— | 1.20— | Same color | 1.22— | 1.43— |
| #FFE135 | 1.24— | 1.01— | 1.22— | Same color | 1.17— |
| #FFC947 | 1.45— | 1.19— | 1.43— | 1.17— | Same color |
Shades
Shades and tints (50–950)
