PreviewingGo to this paletteOpen in generator
Code
/* Fresh Green — colorset.net */
:root {
--color-1: #FFFFFF;
--color-2: #32CD32;
--color-3: #4682B4;
--color-4: #FFD700;
--color-5: #DC143C;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #803F40;
--color-muted: #886968;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #00A40B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0909;
--color-surface: #281313;
--color-border: #402625;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #32CD32;
--color-on-accent: #1C0909;
}
}
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 #4682B4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DC143C | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #32CD32 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 6.32:1 | AA pass 4.5:1 | |
| Primary on background | 4.99:1 | AA pass 3:1 | |
| Accent on background | 3.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.22:1 | AAA pass 4.5:1 | |
| Text on surface | 17.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 9.08:1 | AAA pass 4.5:1 | |
| Primary on background | 3.85:1 | AA Large pass 3:1 | |
| Accent on background | 9.08: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 | #FFFFFF (Text 1) | #32CD32 (Text 2) | #4682B4 (Text 3) | #FFD700 (Text 4) | #DC143C (Text 5) |
|---|---|---|---|---|---|
| #FFFFFF | Same color | 2.12— | 4.11AA Large | 1.40— | 4.99AA |
| #32CD32 | 2.12— | Same color | 1.94— | 1.51— | 2.36— |
| #4682B4 | 4.11AA Large | 1.94— | Same color | 2.93— | 1.21— |
| #FFD700 | 1.40— | 1.51— | 2.93— | Same color | 3.56AA Large |
| #DC143C | 4.99AA | 2.36— | 1.21— | 3.56AA Large | Same color |
Shades
Shades and tints (50–950)
