PreviewingGo to this paletteOpen in generator
Code
/* Meadow Clover — colorset.net */
:root {
--color-1: #4D8B31;
--color-2: #5FA052;
--color-3: #71B280;
--color-4: #95D5B2;
--color-5: #B7E4C7;
--color-bg: #EDFBF2;
--color-surface: #E4F1E8;
--color-border: #C9DACF;
--color-text: #325723;
--color-muted: #5E6F58;
--color-primary: #47852A;
--color-on-primary: #FFFFFF;
--color-accent: #679177;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #081304;
--color-surface: #111D0D;
--color-border: #24331F;
--color-text: #BDE2CA;
--color-muted: #6E8877;
--color-primary: #47852A;
--color-on-primary: #FFFFFF;
--color-accent: #95D5B2;
--color-on-accent: #081304;
}
}
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 #B7E4C7 | adjusted for contrast · from #4D8B31 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4D8B31 | adjusted for contrast · from #B7E4C7 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4D8B31 | adjusted for contrast · from #4D8B31 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5FA052 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.89:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 3.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.48:1 | AAA pass 4.5:1 | |
| Text on surface | 12.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 11.25:1 | AAA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 11.25: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 | #4D8B31 (Text 1) | #5FA052 (Text 2) | #71B280 (Text 3) | #95D5B2 (Text 4) | #B7E4C7 (Text 5) |
|---|---|---|---|---|---|
| #4D8B31 | Same color | 1.31— | 1.66— | 2.46— | 2.96— |
| #5FA052 | 1.31— | Same color | 1.26— | 1.87— | 2.25— |
| #71B280 | 1.66— | 1.26— | Same color | 1.48— | 1.78— |
| #95D5B2 | 2.46— | 1.87— | 1.48— | Same color | 1.20— |
| #B7E4C7 | 2.96— | 2.25— | 1.78— | 1.20— | Same color |
Shades
Shades and tints (50–950)
