PreviewingGo to this paletteOpen in generator
Code
/* Green Fresh — colorset.net */
:root {
--color-1: #F0FDF4;
--color-2: #DCFCE7;
--color-3: #BBF7D0;
--color-4: #86EFAC;
--color-5: #4ADE80;
--color-bg: #F0FDF4;
--color-surface: #E7F4EB;
--color-border: #CCDCD1;
--color-text: #1F5B33;
--color-muted: #5A725F;
--color-primary: #008943;
--color-on-primary: #FFFFFF;
--color-accent: #818D85;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #031408;
--color-surface: #0C1E11;
--color-border: #1E3424;
--color-text: #F0FDF4;
--color-muted: #849088;
--color-primary: #4ADE80;
--color-on-primary: #031408;
--color-accent: #BBF7D0;
--color-on-accent: #031408;
}
}
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 #4ADE80 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4ADE80 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4ADE80 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4ADE80 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 6.08:1 | AA pass 4.5:1 | |
| Primary on background | 4.31: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.12:1 | AAA pass 4.5:1 | |
| Text on surface | 16.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.71:1 | AA pass 4.5:1 | |
| Label on primary | 10.88:1 | AAA pass 4.5:1 | |
| Label on accent | 15.65:1 | AAA pass 4.5:1 | |
| Primary on background | 10.88:1 | AAA pass 3:1 | |
| Accent on background | 15.65: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) | #4ADE80 (Text 5) |
|---|---|---|---|---|---|
| #F0FDF4 | Same color | 1.05— | 1.16— | 1.34— | 1.66— |
| #DCFCE7 | 1.05— | Same color | 1.10— | 1.28— | 1.59— |
| #BBF7D0 | 1.16— | 1.10— | Same color | 1.16— | 1.44— |
| #86EFAC | 1.34— | 1.28— | 1.16— | Same color | 1.24— |
| #4ADE80 | 1.66— | 1.59— | 1.44— | 1.24— | Same color |
Shades
Shades and tints (50–950)
