PreviewingGo to this paletteOpen in generator
Code
/* Clover Green — colorset.net */
:root {
--color-1: #3D8F3D;
--color-2: #52A652;
--color-3: #68BD68;
--color-4: #8CD48C;
--color-5: #B1EBB1;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBDACB;
--color-text: #2B592B;
--color-muted: #5C705B;
--color-primary: #338634;
--color-on-primary: #FFFFFF;
--color-accent: #459A47;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061306;
--color-surface: #0F1E0F;
--color-border: #213321;
--color-text: #C6E3C5;
--color-muted: #738873;
--color-primary: #338634;
--color-on-primary: #FFFFFF;
--color-accent: #8CD48C;
--color-on-accent: #061306;
}
}
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 #B1EBB1 | adjusted for contrast · from #3D8F3D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #3D8F3D | adjusted for contrast · from #B1EBB1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #3D8F3D | adjusted for contrast · from #3D8F3D |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3D8F3D | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.68:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 5.97:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.77:1 | AAA pass 4.5:1 | |
| Text on surface | 12.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 10.79:1 | AAA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 10.79: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 | #3D8F3D (Text 1) | #52A652 (Text 2) | #68BD68 (Text 3) | #8CD48C (Text 4) | #B1EBB1 (Text 5) |
|---|---|---|---|---|---|
| #3D8F3D | Same color | 1.34— | 1.75— | 2.29— | 2.96— |
| #52A652 | 1.34— | Same color | 1.31— | 1.72— | 2.22— |
| #68BD68 | 1.75— | 1.31— | Same color | 1.31— | 1.70— |
| #8CD48C | 2.29— | 1.72— | 1.31— | Same color | 1.29— |
| #B1EBB1 | 2.96— | 2.22— | 1.70— | 1.29— | Same color |
Shades
Shades and tints (50–950)
