PreviewingGo to this paletteOpen in generator
Code
/* Lime Electric — colorset.net */
:root {
--color-1: #1A2E05;
--color-2: #365314;
--color-3: #4D7C0F;
--color-4: #65A30D;
--color-5: #84CC16;
--color-bg: #F2FAEC;
--color-surface: #E9F0E3;
--color-border: #CFD9C8;
--color-text: #1A2E05;
--color-muted: #606E56;
--color-primary: #4E8200;
--color-on-primary: #FFFFFF;
--color-accent: #365314;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1206;
--color-surface: #151C0F;
--color-border: #283120;
--color-text: #A9BB9A;
--color-muted: #7A886F;
--color-primary: #65A30D;
--color-on-primary: #0B1206;
--color-accent: #566D43;
--color-on-accent: #FFFFFF;
}
}
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 #84CC16 | adjusted for contrast · from #1A2E05 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #84CC16 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4D7C0F | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #4D7C0F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.68:1 | AAA pass 4.5:1 | |
| Text on surface | 12.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 8.73:1 | AAA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 8.18:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.30:1 | AAA pass 4.5:1 | |
| Text on surface | 8.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 6.16:1 | AA pass 4.5:1 | |
| Label on accent | 5.73:1 | AA pass 4.5:1 | |
| Primary on background | 6.16:1 | AA pass 3:1 | |
| Accent on background | 3.32:1 | AA Large 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 | #1A2E05 (Text 1) | #365314 (Text 2) | #4D7C0F (Text 3) | #65A30D (Text 4) | #84CC16 (Text 5) |
|---|---|---|---|---|---|
| #1A2E05 | Same color | 1.67— | 2.93— | 4.73AA | 7.40AAA |
| #365314 | 1.67— | Same color | 1.75— | 2.83— | 4.42AA Large |
| #4D7C0F | 2.93— | 1.75— | Same color | 1.62— | 2.53— |
| #65A30D | 4.73AA | 2.83— | 1.62— | Same color | 1.56— |
| #84CC16 | 7.40AAA | 4.42AA Large | 2.53— | 1.56— | Same color |
Shades
Shades and tints (50–950)
