PreviewingGo to this paletteOpen in generator
Code
/* Garden Julep — colorset.net */
:root {
--color-1: #F0F8F3;
--color-2: #3FAE7E;
--color-3: #F28CA0;
--color-4: #C9E8D7;
--color-5: #1B2B24;
--color-bg: #F0F8F3;
--color-surface: #FAFEFB;
--color-border: #D5E0D9;
--color-text: #1B2B24;
--color-muted: #63756D;
--color-primary: #2FA172;
--color-on-primary: #1B2B24;
--color-accent: #D37085;
--color-on-accent: #1B2B24;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B110E;
--color-surface: #151B18;
--color-border: #27302C;
--color-text: #F0F8F3;
--color-muted: #858D88;
--color-primary: #3FAE7E;
--color-on-primary: #0B110E;
--color-accent: #F28CA0;
--color-on-accent: #0B110E;
}
}
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 #1B2B24 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #3FAE7E | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F28CA0 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.70:1 | AAA pass 4.5:1 | |
| Text on surface | 14.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.52:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.65:1 | AAA pass 4.5:1 | |
| Text on surface | 16.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.60:1 | AA pass 4.5:1 | |
| Label on primary | 6.87:1 | AA pass 4.5:1 | |
| Label on accent | 8.21:1 | AAA pass 4.5:1 | |
| Primary on background | 6.87:1 | AA pass 3:1 | |
| Accent on background | 8.21: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 | #F0F8F3 (Text 1) | #3FAE7E (Text 2) | #F28CA0 (Text 3) | #C9E8D7 (Text 4) | #1B2B24 (Text 5) |
|---|---|---|---|---|---|
| #F0F8F3 | Same color | 2.57— | 2.15— | 1.21— | 13.70AAA |
| #3FAE7E | 2.57— | Same color | 1.19— | 2.12— | 5.34AA |
| #F28CA0 | 2.15— | 1.19— | Same color | 1.77— | 6.37AA |
| #C9E8D7 | 1.21— | 2.12— | 1.77— | Same color | 11.29AAA |
| #1B2B24 | 13.70AAA | 5.34AA | 6.37AA | 11.29AAA | Same color |
Shades
Shades and tints (50–950)
