PreviewingGo to this paletteOpen in generator
Code
/* Key Lime Sorbet — colorset.net */
:root {
--color-1: #F7FEE7;
--color-2: #ECFCCB;
--color-3: #D9F99D;
--color-4: #BEF264;
--color-5: #A3E635;
--color-bg: #F7FEE7;
--color-surface: #EEF5DE;
--color-border: #D5DCC2;
--color-text: #40591E;
--color-muted: #657159;
--color-primary: #679700;
--color-on-primary: #000000;
--color-accent: #888E79;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1203;
--color-surface: #141D0A;
--color-border: #28321C;
--color-text: #F7FEE7;
--color-muted: #8A907B;
--color-primary: #A3E635;
--color-on-primary: #0B1203;
--color-accent: #D9F99D;
--color-on-accent: #0B1203;
}
}
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 1 | adjusted for contrast · from #A3E635 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A3E635 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A3E635 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A3E635 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.61:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 6.00:1 | AA pass 4.5:1 | |
| Label on accent | 6.19:1 | AA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.41:1 | AAA pass 4.5:1 | |
| Text on surface | 16.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.77:1 | AA pass 4.5:1 | |
| Label on primary | 12.64:1 | AAA pass 4.5:1 | |
| Label on accent | 16.32:1 | AAA pass 4.5:1 | |
| Primary on background | 12.64:1 | AAA pass 3:1 | |
| Accent on background | 16.32: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 | #F7FEE7 (Text 1) | #ECFCCB (Text 2) | #D9F99D (Text 3) | #BEF264 (Text 4) | #A3E635 (Text 5) |
|---|---|---|---|---|---|
| #F7FEE7 | Same color | 1.05— | 1.13— | 1.26— | 1.46— |
| #ECFCCB | 1.05— | Same color | 1.08— | 1.20— | 1.39— |
| #D9F99D | 1.13— | 1.08— | Same color | 1.12— | 1.29— |
| #BEF264 | 1.26— | 1.20— | 1.12— | Same color | 1.15— |
| #A3E635 | 1.46— | 1.39— | 1.29— | 1.15— | Same color |
Shades
Shades and tints (50–950)
