PreviewingGo to this paletteOpen in generator
Code
/* Pine Clinic — colorset.net */
:root {
--color-1: #0D2420;
--color-2: #82D2A8;
--color-3: #DF8071;
--color-4: #315646;
--color-5: #ECF4EF;
--color-bg: #ECF4EF;
--color-surface: #F6FAF7;
--color-border: #D1DCD5;
--color-text: #0D2420;
--color-muted: #5A726D;
--color-primary: #CE7162;
--color-on-primary: #0D2420;
--color-accent: #499972;
--color-on-accent: #0D2420;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D2420;
--color-surface: #182F2B;
--color-border: #2A4641;
--color-text: #ECF4EF;
--color-muted: #8C938F;
--color-primary: #DF8071;
--color-on-primary: #0D2420;
--color-accent: #82D2A8;
--color-on-accent: #0D2420;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DF8071 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #82D2A8 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.53:1 | AAA pass 4.5:1 | |
| Text on surface | 15.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 4.71:1 | AA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.53:1 | AAA pass 4.5:1 | |
| Text on surface | 12.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.18:1 | AA pass 4.5:1 | |
| Label on primary | 5.78:1 | AA pass 4.5:1 | |
| Label on accent | 9.09:1 | AAA pass 4.5:1 | |
| Primary on background | 5.78:1 | AA pass 3:1 | |
| Accent on background | 9.09: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 | #0D2420 (Text 1) | #82D2A8 (Text 2) | #DF8071 (Text 3) | #315646 (Text 4) | #ECF4EF (Text 5) |
|---|---|---|---|---|---|
| #0D2420 | Same color | 9.09AAA | 5.78AA | 1.98— | 14.53AAA |
| #82D2A8 | 9.09AAA | Same color | 1.57— | 4.60AA | 1.60— |
| #DF8071 | 5.78AA | 1.57— | Same color | 2.93— | 2.51— |
| #315646 | 1.98— | 4.60AA | 2.93— | Same color | 7.35AAA |
| #ECF4EF | 14.53AAA | 1.60— | 2.51— | 7.35AAA | Same color |
Shades
Shades and tints (50–950)
