PreviewingGo to this paletteOpen in generator
Code
/* Snow Pine — colorset.net */
:root {
--color-1: #F5F7F5;
--color-2: #2F5E4E;
--color-3: #C7A15A;
--color-4: #D9E0DB;
--color-5: #1B2622;
--color-bg: #F5F7F5;
--color-surface: #ECEEEC;
--color-border: #D1D6D1;
--color-text: #1B2622;
--color-muted: #626F6A;
--color-primary: #957026;
--color-on-primary: #FFFFFF;
--color-accent: #2F5E4E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B2622;
--color-surface: #26312D;
--color-border: #394842;
--color-text: #F5F7F5;
--color-muted: #959795;
--color-primary: #C7A15A;
--color-on-primary: #1B2622;
--color-accent: #518170;
--color-on-accent: #000000;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C7A15A | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #2F5E4E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.48:1 | AAA pass 4.5:1 | |
| Text on surface | 13.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.87:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 7.42:1 | AAA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 6.89:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.48:1 | AAA pass 4.5:1 | |
| Text on surface | 12.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 6.44:1 | AA pass 4.5:1 | |
| Label on accent | 4.72:1 | AA pass 4.5:1 | |
| Primary on background | 6.44:1 | AA pass 3:1 | |
| Accent on background | 3.51: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 | #F5F7F5 (Text 1) | #2F5E4E (Text 2) | #C7A15A (Text 3) | #D9E0DB (Text 4) | #1B2622 (Text 5) |
|---|---|---|---|---|---|
| #F5F7F5 | Same color | 6.89AA | 2.25— | 1.25— | 14.48AAA |
| #2F5E4E | 6.89AA | Same color | 3.06AA Large | 5.52AA | 2.10— |
| #C7A15A | 2.25— | 3.06AA Large | Same color | 1.80— | 6.44AA |
| #D9E0DB | 1.25— | 5.52AA | 1.80— | Same color | 11.61AAA |
| #1B2622 | 14.48AAA | 2.10— | 6.44AA | 11.61AAA | Same color |
Shades
Shades and tints (50–950)
