PreviewingGo to this paletteOpen in generator
Code
/* Lettuce Leaf — colorset.net */
:root {
--color-1: #F0FDF4;
--color-2: #DCFCE7;
--color-3: #BBF7D0;
--color-4: #86EFAC;
--color-5: #22C55E;
--color-bg: #F0FDF4;
--color-surface: #E7F4EB;
--color-border: #CCDCD1;
--color-text: #235B32;
--color-muted: #5B725F;
--color-primary: #009F46;
--color-on-primary: #000000;
--color-accent: #818D85;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #041407;
--color-surface: #0D1E11;
--color-border: #1F3423;
--color-text: #F0FDF4;
--color-muted: #849088;
--color-primary: #22C55E;
--color-on-primary: #041407;
--color-accent: #BBF7D0;
--color-on-accent: #041407;
}
}
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 #22C55E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #22C55E | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #22C55E | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #22C55E | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 6.05:1 | AA pass 4.5:1 | |
| Label on accent | 6.08:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.10:1 | AAA pass 4.5:1 | |
| Text on surface | 16.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.71:1 | AA pass 4.5:1 | |
| Label on primary | 8.32:1 | AAA pass 4.5:1 | |
| Label on accent | 15.63:1 | AAA pass 4.5:1 | |
| Primary on background | 8.32:1 | AAA pass 3:1 | |
| Accent on background | 15.63: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 | #F0FDF4 (Text 1) | #DCFCE7 (Text 2) | #BBF7D0 (Text 3) | #86EFAC (Text 4) | #22C55E (Text 5) |
|---|---|---|---|---|---|
| #F0FDF4 | Same color | 1.05— | 1.16— | 1.34— | 2.18— |
| #DCFCE7 | 1.05— | Same color | 1.10— | 1.28— | 2.07— |
| #BBF7D0 | 1.16— | 1.10— | Same color | 1.16— | 1.88— |
| #86EFAC | 1.34— | 1.28— | 1.16— | Same color | 1.62— |
| #22C55E | 2.18— | 2.07— | 1.88— | 1.62— | Same color |
Shades
Shades and tints (50–950)
