PreviewingGo to this paletteOpen in generator
Code
/* Viridian Green — colorset.net */
:root {
--color-1: #40826D;
--color-2: #53A087;
--color-3: #66BEA1;
--color-4: #79DCBB;
--color-5: #8CFAD5;
--color-bg: #EAFBF5;
--color-surface: #E1F2EB;
--color-border: #C6DBD2;
--color-text: #105946;
--color-muted: #527166;
--color-primary: #40826D;
--color-on-primary: #FFFFFF;
--color-accent: #3E987D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #01140D;
--color-surface: #091E17;
--color-border: #1A342B;
--color-text: #C1ECDC;
--color-muted: #6B8B7F;
--color-primary: #40826D;
--color-on-primary: #FFFFFF;
--color-accent: #8CFAD5;
--color-on-accent: #01140D;
}
}
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 #8CFAD5 | adjusted for contrast · from #40826D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #40826D | adjusted for contrast · from #8CFAD5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #53A087 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.99:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.72:1 | AAA pass 4.5:1 | |
| Text on surface | 13.47:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 15.13:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 15.13: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 | #40826D (Text 1) | #53A087 (Text 2) | #66BEA1 (Text 3) | #79DCBB (Text 4) | #8CFAD5 (Text 5) |
|---|---|---|---|---|---|
| #40826D | Same color | 1.46— | 2.04— | 2.76— | 3.62AA Large |
| #53A087 | 1.46— | Same color | 1.40— | 1.89— | 2.48— |
| #66BEA1 | 2.04— | 1.40— | Same color | 1.35— | 1.77— |
| #79DCBB | 2.76— | 1.89— | 1.35— | Same color | 1.31— |
| #8CFAD5 | 3.62AA Large | 2.48— | 1.77— | 1.31— | Same color |
Shades
Shades and tints (50–950)
