PreviewingGo to this paletteOpen in generator
Code
/* Palm Haze — colorset.net */
:root {
--color-1: #EAF7F4;
--color-2: #2FA89F;
--color-3: #F497C0;
--color-4: #BDE6DE;
--color-5: #22304A;
--color-bg: #EAF7F4;
--color-surface: #F5FDFB;
--color-border: #CEDFDB;
--color-text: #22304A;
--color-muted: #616E85;
--color-primary: #1A9B93;
--color-on-primary: #000000;
--color-accent: #C86F97;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B0F18;
--color-surface: #141A23;
--color-border: #272E3B;
--color-text: #EAF7F4;
--color-muted: #818D8A;
--color-primary: #2FA89F;
--color-on-primary: #0B0F18;
--color-accent: #F497C0;
--color-on-accent: #0B0F18;
}
}
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 | adjusted for contrast · from #22304A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #2FA89F | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F497C0 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.02:1 | AAA pass 4.5:1 | |
| Text on surface | 12.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 6.15:1 | AA pass 4.5:1 | |
| Label on accent | 6.18:1 | AA pass 4.5:1 | |
| Primary on background | 3.11:1 | AA Large pass 3:1 | |
| Accent on background | 3.09:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.44:1 | AAA pass 4.5:1 | |
| Text on surface | 15.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.58:1 | AA pass 4.5:1 | |
| Label on primary | 6.59:1 | AA pass 4.5:1 | |
| Label on accent | 9.16:1 | AAA pass 4.5:1 | |
| Primary on background | 6.59:1 | AA pass 3:1 | |
| Accent on background | 9.16: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 | #EAF7F4 (Text 1) | #2FA89F (Text 2) | #F497C0 (Text 3) | #BDE6DE (Text 4) | #22304A (Text 5) |
|---|---|---|---|---|---|
| #EAF7F4 | Same color | 2.65— | 1.90— | 1.23— | 12.02AAA |
| #2FA89F | 2.65— | Same color | 1.39— | 2.15— | 4.54AA |
| #F497C0 | 1.90— | 1.39— | Same color | 1.55— | 6.31AA |
| #BDE6DE | 1.23— | 2.15— | 1.55— | Same color | 9.77AAA |
| #22304A | 12.02AAA | 4.54AA | 6.31AA | 9.77AAA | Same color |
Shades
Shades and tints (50–950)
