PreviewingGo to this paletteOpen in generator
Code
/* Lemon Zest — colorset.net */
:root {
--color-1: #FFF033;
--color-2: #FFF55C;
--color-3: #FFF985;
--color-4: #FFFCAE;
--color-5: #FFFFD7;
--color-bg: #F8F8EC;
--color-surface: #EEEEE3;
--color-border: #D6D6C7;
--color-text: #544F00;
--color-muted: #6D6B50;
--color-primary: #7F7700;
--color-on-primary: #FFFFFF;
--color-accent: #898964;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121000;
--color-surface: #1C1A06;
--color-border: #312F16;
--color-text: #FFFFD7;
--color-muted: #909074;
--color-primary: #FFF033;
--color-on-primary: #121000;
--color-accent: #C4B812;
--color-on-accent: #121000;
}
}
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 #FFF033 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFF033 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFF033 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFF033 | adjusted for contrast · from #FFF033 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 4.32: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.67:1 | AAA pass 4.5:1 | |
| Text on surface | 17.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.84:1 | AA pass 4.5:1 | |
| Label on primary | 16.15:1 | AAA pass 4.5:1 | |
| Label on accent | 9.29:1 | AAA pass 4.5:1 | |
| Primary on background | 16.15:1 | AAA pass 3:1 | |
| Accent on background | 9.29: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 | #FFF033 (Text 1) | #FFF55C (Text 2) | #FFF985 (Text 3) | #FFFCAE (Text 4) | #FFFFD7 (Text 5) |
|---|---|---|---|---|---|
| #FFF033 | Same color | 1.04— | 1.08— | 1.11— | 1.16— |
| #FFF55C | 1.04— | Same color | 1.04— | 1.07— | 1.11— |
| #FFF985 | 1.08— | 1.04— | Same color | 1.03— | 1.07— |
| #FFFCAE | 1.11— | 1.07— | 1.03— | Same color | 1.04— |
| #FFFFD7 | 1.16— | 1.11— | 1.07— | 1.04— | Same color |
Shades
Shades and tints (50–950)
