PreviewingGo to this paletteOpen in generator
Code
/* Juniper Teal — colorset.net */
:root {
--color-1: #0A5F55;
--color-2: #247369;
--color-3: #3E877D;
--color-4: #589B91;
--color-5: #72AFA5;
--color-bg: #E9FBF8;
--color-surface: #E0F2EF;
--color-border: #C4DAD6;
--color-text: #00594F;
--color-muted: #4F716B;
--color-primary: #3E877D;
--color-on-primary: #000000;
--color-accent: #247369;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #001410;
--color-surface: #071E1A;
--color-border: #18342F;
--color-text: #82AFA7;
--color-muted: #688B85;
--color-primary: #3E877D;
--color-on-primary: #000000;
--color-accent: #287369;
--color-on-accent: #FFFFFF;
}
}
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 #72AFA5 | adjusted for contrast · from #0A5F55 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0A5F55 | adjusted for contrast · from #72AFA5 |
| 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 #247369 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.97:1 | AA pass 4.5:1 | |
| Label on accent | 5.63:1 | AA pass 4.5:1 | |
| Primary on background | 3.95:1 | AA Large pass 3:1 | |
| Accent on background | 5.26:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.97:1 | AA pass 4.5:1 | |
| Label on accent | 5.61:1 | AA pass 4.5:1 | |
| Primary on background | 4.48:1 | AA Large pass 3:1 | |
| Accent on background | 3.38: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 | #0A5F55 (Text 1) | #247369 (Text 2) | #3E877D (Text 3) | #589B91 (Text 4) | #72AFA5 (Text 5) |
|---|---|---|---|---|---|
| #0A5F55 | Same color | 1.34— | 1.79— | 2.34— | 3.02AA Large |
| #247369 | 1.34— | Same color | 1.33— | 1.75— | 2.25— |
| #3E877D | 1.79— | 1.33— | Same color | 1.31— | 1.69— |
| #589B91 | 2.34— | 1.75— | 1.31— | Same color | 1.29— |
| #72AFA5 | 3.02AA Large | 2.25— | 1.69— | 1.29— | Same color |
Shades
Shades and tints (50–950)
