PreviewingGo to this paletteOpen in generator
Code
/* Ivy Trellis — colorset.net */
:root {
--color-1: #228B22;
--color-2: #2E8B2E;
--color-3: #3A8B3A;
--color-4: #468B46;
--color-5: #528B52;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBD9CB;
--color-text: #2C592A;
--color-muted: #5C705B;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #498249;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #93AE92;
--color-muted: #758A74;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #498249;
--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 | adjusted for contrast · from #528B52 | adjusted for contrast · from #228B22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #3A8B3A | adjusted for contrast · from #528B52 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #468B46 | adjusted for contrast · from #468B46 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 4.15: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 | #228B22 (Text 1) | #2E8B2E (Text 2) | #3A8B3A (Text 3) | #468B46 (Text 4) | #528B52 (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 1.01— | 1.03— | 1.05— | 1.08— |
| #2E8B2E | 1.01— | Same color | 1.02— | 1.04— | 1.07— |
| #3A8B3A | 1.03— | 1.02— | Same color | 1.02— | 1.05— |
| #468B46 | 1.05— | 1.04— | 1.02— | Same color | 1.03— |
| #528B52 | 1.08— | 1.07— | 1.05— | 1.03— | Same color |
Shades
Shades and tints (50–950)
