PreviewingGo to this paletteOpen in generator
Code
/* Lemon Peel — colorset.net */
:root {
--color-1: #FFF700;
--color-2: #FFFA1A;
--color-3: #FFFD33;
--color-4: #FFFF4D;
--color-5: #FFFF66;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D7C4;
--color-text: #535001;
--color-muted: #6C6C51;
--color-primary: #7D7900;
--color-on-primary: #FFFFFF;
--color-accent: #8F8D00;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #111000;
--color-surface: #1B1B06;
--color-border: #302F17;
--color-text: #F8F9D3;
--color-muted: #8C8D71;
--color-primary: #FFF700;
--color-on-primary: #111000;
--color-accent: #C4BE00;
--color-on-accent: #111000;
}
}
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 #FFFF66 | adjusted for contrast · from #FFF700 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFF700 | adjusted for contrast · from #FFFF66 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFF700 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFF700 | adjusted for contrast · from #FFF700 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.74:1 | AAA pass 4.5:1 | |
| Text on surface | 16.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.61:1 | AA pass 4.5:1 | |
| Label on primary | 16.90:1 | AAA pass 4.5:1 | |
| Label on accent | 9.76:1 | AAA pass 4.5:1 | |
| Primary on background | 16.90:1 | AAA pass 3:1 | |
| Accent on background | 9.76: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 | #FFF700 (Text 1) | #FFFA1A (Text 2) | #FFFD33 (Text 3) | #FFFF4D (Text 4) | #FFFF66 (Text 5) |
|---|---|---|---|---|---|
| #FFF700 | Same color | 1.02— | 1.04— | 1.06— | 1.06— |
| #FFFA1A | 1.02— | Same color | 1.02— | 1.04— | 1.04— |
| #FFFD33 | 1.04— | 1.02— | Same color | 1.02— | 1.02— |
| #FFFF4D | 1.06— | 1.04— | 1.02— | Same color | 1.00— |
| #FFFF66 | 1.06— | 1.04— | 1.02— | 1.00— | Same color |
Shades
Shades and tints (50–950)
