PreviewingGo to this paletteOpen in generator
Code
/* Pine Valley — colorset.net */
:root {
--color-1: #013220;
--color-2: #1A5A1A;
--color-3: #2A7A2A;
--color-4: #3A9A3A;
--color-5: #4ABABA;
--color-bg: #E8FBFB;
--color-surface: #DFF2F2;
--color-border: #C3DADA;
--color-text: #013220;
--color-muted: #557163;
--color-primary: #248726;
--color-on-primary: #FFFFFF;
--color-accent: #008485;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05130C;
--color-surface: #0F1D16;
--color-border: #203329;
--color-text: #82B1B0;
--color-muted: #658988;
--color-primary: #248726;
--color-on-primary: #FFFFFF;
--color-accent: #4ABABA;
--color-on-accent: #05130C;
}
}
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 #4ABABA | adjusted for contrast · from #013220 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #4ABABA |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #2A7A2A | adjusted for contrast · from #2A7A2A |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2A7A2A | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.27:1 | AAA pass 4.5:1 | |
| Text on surface | 12.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 4.23:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.02:1 | AAA pass 4.5:1 | |
| Text on surface | 7.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 8.17:1 | AAA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 8.17: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 | #013220 (Text 1) | #1A5A1A (Text 2) | #2A7A2A (Text 3) | #3A9A3A (Text 4) | #4ABABA (Text 5) |
|---|---|---|---|---|---|
| #013220 | Same color | 1.71— | 2.65— | 3.97AA Large | 6.10AA |
| #1A5A1A | 1.71— | Same color | 1.55— | 2.33— | 3.58AA Large |
| #2A7A2A | 2.65— | 1.55— | Same color | 1.50— | 2.30— |
| #3A9A3A | 3.97AA Large | 2.33— | 1.50— | Same color | 1.54— |
| #4ABABA | 6.10AA | 3.58AA Large | 2.30— | 1.54— | Same color |
Shades
Shades and tints (50–950)
