PreviewingGo to this paletteOpen in generator
Code
/* Greenhouse Dusk — colorset.net */
:root {
--color-1: #10221C;
--color-2: #5FC08A;
--color-3: #F5B85A;
--color-4: #213A31;
--color-5: #E8F5EE;
--color-bg: #E8F5EE;
--color-surface: #F3FBF7;
--color-border: #CDDDD4;
--color-text: #10221C;
--color-muted: #5F736C;
--color-primary: #399D69;
--color-on-primary: #10221C;
--color-accent: #B98010;
--color-on-accent: #10221C;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #10221C;
--color-surface: #1B2D27;
--color-border: #2D443C;
--color-text: #E8F5EE;
--color-muted: #88948D;
--color-primary: #5FC08A;
--color-on-primary: #10221C;
--color-accent: #F5B85A;
--color-on-accent: #10221C;
}
}
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 #5FC08A | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F5B85A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.77:1 | AAA pass 4.5:1 | |
| Text on surface | 15.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.51:1 | AA pass 4.5:1 | |
| Label on primary | 4.89:1 | AA pass 4.5:1 | |
| Label on accent | 4.86:1 | AA pass 4.5:1 | |
| Primary on background | 3.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.77:1 | AAA pass 4.5:1 | |
| Text on surface | 12.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 7.41:1 | AAA pass 4.5:1 | |
| Label on accent | 9.38:1 | AAA pass 4.5:1 | |
| Primary on background | 7.41:1 | AAA pass 3:1 | |
| Accent on background | 9.38: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 | #10221C (Text 1) | #5FC08A (Text 2) | #F5B85A (Text 3) | #213A31 (Text 4) | #E8F5EE (Text 5) |
|---|---|---|---|---|---|
| #10221C | Same color | 7.41AAA | 9.38AAA | 1.35— | 14.77AAA |
| #5FC08A | 7.41AAA | Same color | 1.27— | 5.48AA | 1.99— |
| #F5B85A | 9.38AAA | 1.27— | Same color | 6.93AA | 1.58— |
| #213A31 | 1.35— | 5.48AA | 6.93AA | Same color | 10.92AAA |
| #E8F5EE | 14.77AAA | 1.99— | 1.58— | 10.92AAA | Same color |
Shades
Shades and tints (50–950)
