PreviewingGo to this paletteOpen in generator
Code
/* Lemon Lime Zest — colorset.net */
:root {
--color-1: #98FB98;
--color-2: #ADFF2F;
--color-3: #FFFF00;
--color-4: #FFFFE0;
--color-5: #FFFACD;
--color-bg: #FFFFE0;
--color-surface: #F6F6D7;
--color-border: #DDDDBF;
--color-text: #2E5D2F;
--color-muted: #607560;
--color-primary: #649A00;
--color-on-primary: #000000;
--color-accent: #928D64;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061306;
--color-surface: #0F1E0F;
--color-border: #213321;
--color-text: #FFFFE0;
--color-muted: #909074;
--color-primary: #ADFF2F;
--color-on-primary: #061306;
--color-accent: #FFFF00;
--color-on-accent: #061306;
}
}
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 4 | adjusted for contrast · from #98FB98 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #98FB98 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #98FB98 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #98FB98 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.58:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 6.16:1 | AA pass 4.5:1 | |
| Label on accent | 6.22:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 3.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.70:1 | AAA pass 4.5:1 | |
| Text on surface | 17.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.82:1 | AA pass 4.5:1 | |
| Label on primary | 15.52:1 | AAA pass 4.5:1 | |
| Label on accent | 17.72:1 | AAA pass 4.5:1 | |
| Primary on background | 15.52:1 | AAA pass 3:1 | |
| Accent on background | 17.72: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 | #98FB98 (Text 1) | #ADFF2F (Text 2) | #FFFF00 (Text 3) | #FFFFE0 (Text 4) | #FFFACD (Text 5) |
|---|---|---|---|---|---|
| #98FB98 | Same color | 1.03— | 1.18— | 1.24— | 1.19— |
| #ADFF2F | 1.03— | Same color | 1.14— | 1.21— | 1.16— |
| #FFFF00 | 1.18— | 1.14— | Same color | 1.06— | 1.01— |
| #FFFFE0 | 1.24— | 1.21— | 1.06— | Same color | 1.04— |
| #FFFACD | 1.19— | 1.16— | 1.01— | 1.04— | Same color |
Shades
Shades and tints (50–950)
