PreviewingGo to this paletteOpen in generator
Code
/* Key Lime Pie — colorset.net */
:root {
--color-1: #32CD32;
--color-2: #7FFF00;
--color-3: #ADFF2F;
--color-4: #C7FF8C;
--color-5: #E6FFB3;
--color-bg: #F4F9EB;
--color-surface: #EBF0E1;
--color-border: #D1D8C6;
--color-text: #2A5728;
--color-muted: #5B6F5A;
--color-primary: #008808;
--color-on-primary: #FFFFFF;
--color-accent: #7C914A;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #ECF9D5;
--color-muted: #848E73;
--color-primary: #32CD32;
--color-on-primary: #061305;
--color-accent: #E6FFB3;
--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 #E6FFB3 | adjusted for contrast · from #32CD32 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #32CD32 | adjusted for contrast · from #E6FFB3 |
| 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.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.29:1 | AAA pass 4.5:1 | |
| Text on surface | 15.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.53:1 | AA pass 4.5:1 | |
| Label on primary | 8.99:1 | AAA pass 4.5:1 | |
| Label on accent | 17.51:1 | AAA pass 4.5:1 | |
| Primary on background | 8.99:1 | AAA pass 3:1 | |
| Accent on background | 17.51: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) | #7FFF00 (Text 2) | #ADFF2F (Text 3) | #C7FF8C (Text 4) | #E6FFB3 (Text 5) |
|---|---|---|---|---|---|
| #32CD32 | Same color | 1.63— | 1.73— | 1.83— | 1.95— |
| #7FFF00 | 1.63— | Same color | 1.06— | 1.12— | 1.19— |
| #ADFF2F | 1.73— | 1.06— | Same color | 1.06— | 1.13— |
| #C7FF8C | 1.83— | 1.12— | 1.06— | Same color | 1.07— |
| #E6FFB3 | 1.95— | 1.19— | 1.13— | 1.07— | Same color |
Shades
Shades and tints (50–950)
