PreviewingGo to this paletteOpen in generator
Code
/* Haunted Greenhouse — colorset.net */
:root {
--color-1: #0F1A14;
--color-2: #7FD957;
--color-3: #6A3FA0;
--color-4: #1F3327;
--color-5: #E6F2E0;
--color-bg: #E6F2E0;
--color-surface: #F0F8ED;
--color-border: #CCDAC5;
--color-text: #0F1A14;
--color-muted: #5F6C64;
--color-primary: #398700;
--color-on-primary: #FFFFFF;
--color-accent: #6A3FA0;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F1A14;
--color-surface: #19251E;
--color-border: #2C3B32;
--color-text: #E6F2E0;
--color-muted: #848F7E;
--color-primary: #7FD957;
--color-on-primary: #0F1A14;
--color-accent: #8157BA;
--color-on-accent: #FFFFFF;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #7FD957 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #6A3FA0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.40:1 | AAA pass 4.5:1 | |
| Text on surface | 16.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.75:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 7.42:1 | AAA pass 4.5:1 | |
| Primary on background | 3.91:1 | AA Large pass 3:1 | |
| Accent on background | 6.41:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.40:1 | AAA pass 4.5:1 | |
| Text on surface | 13.69:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 10.16:1 | AAA pass 4.5:1 | |
| Label on accent | 5.24:1 | AA pass 4.5:1 | |
| Primary on background | 10.16:1 | AAA pass 3:1 | |
| Accent on background | 3.40:1 | AA Large 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 | #0F1A14 (Text 1) | #7FD957 (Text 2) | #6A3FA0 (Text 3) | #1F3327 (Text 4) | #E6F2E0 (Text 5) |
|---|---|---|---|---|---|
| #0F1A14 | Same color | 10.16AAA | 2.40— | 1.33— | 15.40AAA |
| #7FD957 | 10.16AAA | Same color | 4.23AA Large | 7.66AAA | 1.52— |
| #6A3FA0 | 2.40— | 4.23AA Large | Same color | 1.81— | 6.41AA |
| #1F3327 | 1.33— | 7.66AAA | 1.81— | Same color | 11.62AAA |
| #E6F2E0 | 15.40AAA | 1.52— | 6.41AA | 11.62AAA | Same color |
Shades
Shades and tints (50–950)
