PreviewingGo to this paletteOpen in generator
Code
/* Fresh Lime — colorset.net */
:root {
--color-1: #F6F9EF;
--color-2: #4D7C0F;
--color-3: #7C3AED;
--color-4: #C6D3A8;
--color-5: #1D2414;
--color-bg: #F6F9EF;
--color-surface: #EDF0E6;
--color-border: #D4D8CA;
--color-text: #1D2414;
--color-muted: #656E5B;
--color-primary: #7C3AED;
--color-on-primary: #FFFFFF;
--color-accent: #4D7C0F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1D2414;
--color-surface: #282F1F;
--color-border: #3C4631;
--color-text: #F6F9EF;
--color-muted: #94978E;
--color-primary: #8A4DFF;
--color-on-primary: #FFFFFF;
--color-accent: #538219;
--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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #7C3AED |
| 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 | 15.00:1 | AAA pass 4.5:1 | |
| Text on surface | 13.85:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 4.99:1 | AA pass 4.5:1 | |
| Primary on background | 5.35:1 | AA pass 3:1 | |
| Accent on background | 4.69:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.00:1 | AAA pass 4.5:1 | |
| Text on surface | 13.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 3.49:1 | AA Large pass 3:1 | |
| Accent on background | 3.48: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 | #F6F9EF (Text 1) | #4D7C0F (Text 2) | #7C3AED (Text 3) | #C6D3A8 (Text 4) | #1D2414 (Text 5) |
|---|---|---|---|---|---|
| #F6F9EF | Same color | 4.69AA | 5.35AA | 1.48— | 15.00AAA |
| #4D7C0F | 4.69AA | Same color | 1.14— | 3.16AA Large | 3.20AA Large |
| #7C3AED | 5.35AA | 1.14— | Same color | 3.60AA Large | 2.80— |
| #C6D3A8 | 1.48— | 3.16AA Large | 3.60AA Large | Same color | 10.10AAA |
| #1D2414 | 15.00AAA | 3.20AA Large | 2.80— | 10.10AAA | Same color |
Shades
Shades and tints (50–950)
