PreviewingGo to this paletteOpen in generator
Code
/* Pine Resin — colorset.net */
:root {
--color-1: #F1F4EF;
--color-2: #2F5D4A;
--color-3: #C9733D;
--color-4: #C7D4C9;
--color-5: #1C2620;
--color-bg: #F1F4EF;
--color-surface: #F9FBF8;
--color-border: #D7DCD4;
--color-text: #1C2620;
--color-muted: #647069;
--color-primary: #C9733D;
--color-on-primary: #000000;
--color-accent: #2F5D4A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C2620;
--color-surface: #27312B;
--color-border: #3A4840;
--color-text: #F1F4EF;
--color-muted: #959894;
--color-primary: #C9733D;
--color-on-primary: #000000;
--color-accent: #54836E;
--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 | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #2F5D4A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.05:1 | AAA pass 4.5:1 | |
| Text on surface | 14.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 6.00:1 | AA pass 4.5:1 | |
| Label on accent | 7.54:1 | AAA pass 4.5:1 | |
| Primary on background | 3.15:1 | AA Large pass 3:1 | |
| Accent on background | 6.79:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.05:1 | AAA pass 4.5:1 | |
| Text on surface | 12.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.34:1 | AA pass 4.5:1 | |
| Label on primary | 6.00:1 | AA pass 4.5:1 | |
| Label on accent | 4.85:1 | AA pass 4.5:1 | |
| Primary on background | 4.46:1 | AA Large pass 3:1 | |
| Accent on background | 3.60: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 | #F1F4EF (Text 1) | #2F5D4A (Text 2) | #C9733D (Text 3) | #C7D4C9 (Text 4) | #1C2620 (Text 5) |
|---|---|---|---|---|---|
| #F1F4EF | Same color | 6.79AA | 3.15AA Large | 1.38— | 14.05AAA |
| #2F5D4A | 6.79AA | Same color | 2.16— | 4.91AA | 2.07— |
| #C9733D | 3.15AA Large | 2.16— | Same color | 2.28— | 4.46AA Large |
| #C7D4C9 | 1.38— | 4.91AA | 2.28— | Same color | 10.16AAA |
| #1C2620 | 14.05AAA | 2.07— | 4.46AA Large | 10.16AAA | Same color |
Shades
Shades and tints (50–950)
