PreviewingGo to this paletteOpen in generator
Code
/* Pine Hollow — colorset.net */
:root {
--color-1: #0B3B17;
--color-2: #1A4A26;
--color-3: #295935;
--color-4: #386844;
--color-5: #477753;
--color-bg: #EEFBF0;
--color-surface: #E4F2E7;
--color-border: #CADACD;
--color-text: #0B3B17;
--color-muted: #5A705C;
--color-primary: #477753;
--color-on-primary: #FFFFFF;
--color-accent: #1A4A26;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #051307;
--color-surface: #0F1D11;
--color-border: #213323;
--color-text: #8DAC93;
--color-muted: #718976;
--color-primary: #477753;
--color-on-primary: #FFFFFF;
--color-accent: #7FA988;
--color-on-accent: #051307;
}
}
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 #477753 | adjusted for contrast · from #0B3B17 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #477753 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #477753 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.92:1 | AAA pass 4.5:1 | |
| Text on surface | 10.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.21:1 | AA pass 4.5:1 | |
| Label on accent | 10.24:1 | AAA pass 4.5:1 | |
| Primary on background | 4.88:1 | AA pass 3:1 | |
| Accent on background | 9.60:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.21:1 | AA pass 4.5:1 | |
| Label on accent | 7.19:1 | AAA pass 4.5:1 | |
| Primary on background | 3.66:1 | AA Large pass 3:1 | |
| Accent on background | 7.19: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 | #0B3B17 (Text 1) | #1A4A26 (Text 2) | #295935 (Text 3) | #386844 (Text 4) | #477753 (Text 5) |
|---|---|---|---|---|---|
| #0B3B17 | Same color | 1.24— | 1.56— | 1.96— | 2.44— |
| #1A4A26 | 1.24— | Same color | 1.26— | 1.58— | 1.97— |
| #295935 | 1.56— | 1.26— | Same color | 1.26— | 1.57— |
| #386844 | 1.96— | 1.58— | 1.26— | Same color | 1.25— |
| #477753 | 2.44— | 1.97— | 1.57— | 1.25— | Same color |
Shades
Shades and tints (50–950)
