PreviewingGo to this paletteOpen in generator
Code
/* Forest Shadow — colorset.net */
:root {
--color-1: #0E4B99;
--color-2: #1E8449;
--color-3: #239B56;
--color-4: #27AE60;
--color-5: #2ECC71;
--color-bg: #EDFBF0;
--color-surface: #E4F2E7;
--color-border: #C9DACD;
--color-text: #2D4E7F;
--color-muted: #5C6C82;
--color-primary: #008846;
--color-on-primary: #FFFFFF;
--color-accent: #0E4B99;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #060F1E;
--color-surface: #0F1A29;
--color-border: #212E42;
--color-text: #96B69E;
--color-muted: #708976;
--color-primary: #008846;
--color-on-primary: #FFFFFF;
--color-accent: #2C66B6;
--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 #2ECC71 | adjusted for contrast · from #0E4B99 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0E4B99 | adjusted for contrast · from #2ECC71 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #1E8449 | adjusted for contrast · from #1E8449 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #0E4B99 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 8.45:1 | AAA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 7.91:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 5.70:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.36: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 | #0E4B99 (Text 1) | #1E8449 (Text 2) | #239B56 (Text 3) | #27AE60 (Text 4) | #2ECC71 (Text 5) |
|---|---|---|---|---|---|
| #0E4B99 | Same color | 1.79— | 2.37— | 2.94— | 4.02AA Large |
| #1E8449 | 1.79— | Same color | 1.32— | 1.64— | 2.24— |
| #239B56 | 2.37— | 1.32— | Same color | 1.24— | 1.70— |
| #27AE60 | 2.94— | 1.64— | 1.24— | Same color | 1.37— |
| #2ECC71 | 4.02AA Large | 2.24— | 1.70— | 1.37— | Same color |
Shades
Shades and tints (50–950)
