PreviewingGo to this paletteOpen in generator
Code
/* Botanical Spa — colorset.net */
:root {
--color-1: #F4F6F0;
--color-2: #4E7D5B;
--color-3: #E39B7B;
--color-4: #D7DEC8;
--color-5: #1F2A22;
--color-bg: #F4F6F0;
--color-surface: #FCFDF9;
--color-border: #DBDED4;
--color-text: #1F2A22;
--color-muted: #67746A;
--color-primary: #4E7D5B;
--color-on-primary: #FFFFFF;
--color-accent: #C27C5D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D110E;
--color-surface: #171B18;
--color-border: #29302B;
--color-text: #F4F6F0;
--color-muted: #898B86;
--color-primary: #4E7D5B;
--color-on-primary: #FFFFFF;
--color-accent: #E39B7B;
--color-on-accent: #0D110E;
}
}
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 #1F2A22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E39B7B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.65:1 | AAA pass 4.5:1 | |
| Text on surface | 14.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.50:1 | AA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 6.33:1 | AA pass 4.5:1 | |
| Primary on background | 4.38:1 | AA Large pass 3:1 | |
| Accent on background | 3.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.48:1 | AAA pass 4.5:1 | |
| Text on surface | 15.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.53:1 | AA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 8.37:1 | AAA pass 4.5:1 | |
| Primary on background | 3.99:1 | AA Large pass 3:1 | |
| Accent on background | 8.37: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 | #F4F6F0 (Text 1) | #4E7D5B (Text 2) | #E39B7B (Text 3) | #D7DEC8 (Text 4) | #1F2A22 (Text 5) |
|---|---|---|---|---|---|
| #F4F6F0 | Same color | 4.38AA Large | 2.09— | 1.27— | 13.65AAA |
| #4E7D5B | 4.38AA Large | Same color | 2.10— | 3.44AA Large | 3.12AA Large |
| #E39B7B | 2.09— | 2.10— | Same color | 1.64— | 6.54AA |
| #D7DEC8 | 1.27— | 3.44AA Large | 1.64— | Same color | 10.74AAA |
| #1F2A22 | 13.65AAA | 3.12AA Large | 6.54AA | 10.74AAA | Same color |
Shades
Shades and tints (50–950)
