PreviewingGo to this paletteOpen in generator
Code
/* Pine Green — colorset.net */
:root {
--color-1: #228B22;
--color-2: #2E8B57;
--color-3: #3CB371;
--color-4: #90EE90;
--color-5: #F0FFF0;
--color-bg: #F0FFF0;
--color-surface: #E7F6E7;
--color-border: #CCDECC;
--color-text: #2E5B2C;
--color-muted: #5F735D;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #818F81;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #F0FFF0;
--color-muted: #849184;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #90EE90;
--color-on-accent: #061305;
}
}
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 | adjusted for contrast · from #2E8B57 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2E8B57 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2E8B57 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 6.18:1 | AA pass 4.5:1 | |
| Primary on background | 4.41:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.37:1 | AAA pass 4.5:1 | |
| Text on surface | 16.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.77:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 13.43:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 13.43: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 | #228B22 (Text 1) | #2E8B57 (Text 2) | #3CB371 (Text 3) | #90EE90 (Text 4) | #F0FFF0 (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 1.03— | 1.65— | 3.10AA Large | 4.24AA Large |
| #2E8B57 | 1.03— | Same color | 1.59— | 3.00AA Large | 4.10AA Large |
| #3CB371 | 1.65— | 1.59— | Same color | 1.88— | 2.57— |
| #90EE90 | 3.10AA Large | 3.00AA Large | 1.88— | Same color | 1.37— |
| #F0FFF0 | 4.24AA Large | 4.10AA Large | 2.57— | 1.37— | Same color |
Shades
Shades and tints (50–950)
