PreviewingGo to this paletteOpen in generator
Code
/* Shadowed Pine — colorset.net */
:root {
--color-1: #0F2417;
--color-2: #1A3B27;
--color-3: #255237;
--color-4: #306947;
--color-5: #3B8057;
--color-bg: #EDFBF1;
--color-surface: #E4F2E8;
--color-border: #C9DACE;
--color-text: #0F2417;
--color-muted: #5A7262;
--color-primary: #3B8057;
--color-on-primary: #FFFFFF;
--color-accent: #1A3B27;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F2417;
--color-surface: #1A2F22;
--color-border: #2E4636;
--color-text: #9DBFA8;
--color-muted: #7F9987;
--color-primary: #3E835A;
--color-on-primary: #FFFFFF;
--color-accent: #7CB590;
--color-on-accent: #0F2417;
}
}
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 #3B8057 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #3B8057 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #3B8057 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #3B8057 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.31:1 | AAA pass 4.5:1 | |
| Text on surface | 14.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 12.36:1 | AAA pass 4.5:1 | |
| Primary on background | 4.46:1 | AA Large pass 3:1 | |
| Accent on background | 11.58:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.13:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 6.90:1 | AA pass 4.5:1 | |
| Primary on background | 3.58:1 | AA Large pass 3:1 | |
| Accent on background | 6.90:1 | AA 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 | #0F2417 (Text 1) | #1A3B27 (Text 2) | #255237 (Text 3) | #306947 (Text 4) | #3B8057 (Text 5) |
|---|---|---|---|---|---|
| #0F2417 | Same color | 1.32— | 1.82— | 2.52— | 3.43AA Large |
| #1A3B27 | 1.32— | Same color | 1.38— | 1.91— | 2.60— |
| #255237 | 1.82— | 1.38— | Same color | 1.38— | 1.88— |
| #306947 | 2.52— | 1.91— | 1.38— | Same color | 1.36— |
| #3B8057 | 3.43AA Large | 2.60— | 1.88— | 1.36— | Same color |
Shades
Shades and tints (50–950)
