PreviewingGo to this paletteOpen in generator
Code
/* Lime Spritz — colorset.net */
:root {
--color-1: #32CD32;
--color-2: #4AD74A;
--color-3: #62E162;
--color-4: #7AEB7A;
--color-5: #92F592;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBD9CB;
--color-text: #2A5728;
--color-muted: #5B6F5A;
--color-primary: #008808;
--color-on-primary: #FFFFFF;
--color-accent: #005003;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #C6E3C5;
--color-muted: #748873;
--color-primary: #32CD32;
--color-on-primary: #061305;
--color-accent: #92F592;
--color-on-accent: #061305;
}
}
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 #92F592 | adjusted for contrast · from #32CD32 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #32CD32 | adjusted for contrast · from #92F592 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #32CD32 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #32CD32 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.91:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 9.77:1 | AAA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 9.18:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.78:1 | AAA pass 4.5:1 | |
| Text on surface | 12.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 8.99:1 | AAA pass 4.5:1 | |
| Label on accent | 14.23:1 | AAA pass 4.5:1 | |
| Primary on background | 8.99:1 | AAA pass 3:1 | |
| Accent on background | 14.23: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 | #32CD32 (Text 1) | #4AD74A (Text 2) | #62E162 (Text 3) | #7AEB7A (Text 4) | #92F592 (Text 5) |
|---|---|---|---|---|---|
| #32CD32 | Same color | 1.12— | 1.26— | 1.41— | 1.58— |
| #4AD74A | 1.12— | Same color | 1.12— | 1.26— | 1.41— |
| #62E162 | 1.26— | 1.12— | Same color | 1.12— | 1.26— |
| #7AEB7A | 1.41— | 1.26— | 1.12— | Same color | 1.12— |
| #92F592 | 1.58— | 1.41— | 1.26— | 1.12— | Same color |
Shades
Shades and tints (50–950)
