PreviewingGo to this paletteOpen in generator
Code
/* Lemon Zest Yellow — colorset.net */
:root {
--color-1: #FFFF33;
--color-2: #FFFF5C;
--color-3: #FFFF85;
--color-4: #FFFFAE;
--color-5: #FFFFD7;
--color-bg: #F8F8EC;
--color-surface: #EEEEE3;
--color-border: #D6D6C7;
--color-text: #515002;
--color-muted: #6B6C51;
--color-primary: #7A7900;
--color-on-primary: #FFFFFF;
--color-accent: #898964;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #111101;
--color-surface: #1B1B06;
--color-border: #2F3017;
--color-text: #FFFFD7;
--color-muted: #909074;
--color-primary: #FFFF33;
--color-on-primary: #111101;
--color-accent: #FFFFAE;
--color-on-accent: #111101;
}
}
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 #FFFFD7 | adjusted for contrast · from #FFFF85 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFFF85 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFFF5C | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFFFAE | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.37:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.59:1 | AAA pass 4.5:1 | |
| Text on surface | 17.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.82:1 | AA pass 4.5:1 | |
| Label on primary | 17.75:1 | AAA pass 4.5:1 | |
| Label on accent | 18.26:1 | AAA pass 4.5:1 | |
| Primary on background | 17.75:1 | AAA pass 3:1 | |
| Accent on background | 18.26: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 | #FFFF33 (Text 1) | #FFFF5C (Text 2) | #FFFF85 (Text 3) | #FFFFAE (Text 4) | #FFFFD7 (Text 5) |
|---|---|---|---|---|---|
| #FFFF33 | Same color | 1.01— | 1.01— | 1.03— | 1.05— |
| #FFFF5C | 1.01— | Same color | 1.01— | 1.02— | 1.04— |
| #FFFF85 | 1.01— | 1.01— | Same color | 1.01— | 1.03— |
| #FFFFAE | 1.03— | 1.02— | 1.01— | Same color | 1.02— |
| #FFFFD7 | 1.05— | 1.04— | 1.03— | 1.02— | Same color |
Shades
Shades and tints (50–950)
