PreviewingGo to this paletteOpen in generator
Code
/* Lime Yellow — colorset.net */
:root {
--color-1: #C7F464;
--color-2: #D4FA70;
--color-3: #E0FF7F;
--color-4: #EBFF99;
--color-5: #F5FFB3;
--color-bg: #F6F9EA;
--color-surface: #EDEFE0;
--color-border: #D4D7C5;
--color-text: #425415;
--color-muted: #646E54;
--color-primary: #628100;
--color-on-primary: #FFFFFF;
--color-accent: #868E46;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1202;
--color-surface: #161C09;
--color-border: #29311B;
--color-text: #F6FBD5;
--color-muted: #8A8E73;
--color-primary: #C7F464;
--color-on-primary: #0C1202;
--color-accent: #EBFF99;
--color-on-accent: #0C1202;
}
}
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 #F5FFB3 | adjusted for contrast · from #C7F464 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C7F464 | adjusted for contrast · from #F5FFB3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C7F464 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C7F464 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.97:1 | AA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.84:1 | AAA pass 4.5:1 | |
| Text on surface | 16.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.62:1 | AA pass 4.5:1 | |
| Label on primary | 15.01:1 | AAA pass 4.5:1 | |
| Label on accent | 17.49:1 | AAA pass 4.5:1 | |
| Primary on background | 15.01:1 | AAA pass 3:1 | |
| Accent on background | 17.49: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 | #C7F464 (Text 1) | #D4FA70 (Text 2) | #E0FF7F (Text 3) | #EBFF99 (Text 4) | #F5FFB3 (Text 5) |
|---|---|---|---|---|---|
| #C7F464 | Same color | 1.07— | 1.13— | 1.17— | 1.20— |
| #D4FA70 | 1.07— | Same color | 1.06— | 1.09— | 1.12— |
| #E0FF7F | 1.13— | 1.06— | Same color | 1.03— | 1.06— |
| #EBFF99 | 1.17— | 1.09— | 1.03— | Same color | 1.03— |
| #F5FFB3 | 1.20— | 1.12— | 1.06— | 1.03— | Same color |
Shades
Shades and tints (50–950)
