PreviewingGo to this paletteOpen in generator
Code
/* Canopy Light — colorset.net */
:root {
--color-1: #2F4F2F;
--color-2: #556B2F;
--color-3: #6B8E23;
--color-4: #9ACD32;
--color-5: #ADFF2F;
--color-bg: #F2FAEC;
--color-surface: #E9F0E3;
--color-border: #CFD8C7;
--color-text: #2F4F2F;
--color-muted: #5D715D;
--color-primary: #548200;
--color-on-primary: #FFFFFF;
--color-accent: #556B2F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #081208;
--color-surface: #121D12;
--color-border: #243224;
--color-text: #D7EAC7;
--color-muted: #7C896F;
--color-primary: #ADFF2F;
--color-on-primary: #081208;
--color-accent: #4D6E4C;
--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 #ADFF2F | adjusted for contrast · from #2F4F2F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #ADFF2F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6B8E23 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #556B2F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 5.57:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.98:1 | AAA pass 4.5:1 | |
| Text on surface | 13.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 15.56:1 | AAA pass 4.5:1 | |
| Label on accent | 5.75:1 | AA pass 4.5:1 | |
| Primary on background | 15.56:1 | AAA pass 3:1 | |
| Accent on background | 3.32: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 | #2F4F2F (Text 1) | #556B2F (Text 2) | #6B8E23 (Text 3) | #9ACD32 (Text 4) | #ADFF2F (Text 5) |
|---|---|---|---|---|---|
| #2F4F2F | Same color | 1.55— | 2.42— | 4.89AA | 7.51AAA |
| #556B2F | 1.55— | Same color | 1.56— | 3.16AA Large | 4.85AA |
| #6B8E23 | 2.42— | 1.56— | Same color | 2.02— | 3.10AA Large |
| #9ACD32 | 4.89AA | 3.16AA Large | 2.02— | Same color | 1.54— |
| #ADFF2F | 7.51AAA | 4.85AA | 3.10AA Large | 1.54— | Same color |
Shades
Shades and tints (50–950)
