PreviewingGo to this paletteOpen in generator
Code
/* Gardenia White — colorset.net */
:root {
--color-1: #F7F4ED;
--color-2: #F9F7F1;
--color-3: #FBF9F5;
--color-4: #FDFBF9;
--color-5: #FFFEFD;
--color-bg: #FFFEFD;
--color-surface: #F6F5F4;
--color-border: #DFDBD8;
--color-text: #54524C;
--color-muted: #726F69;
--color-primary: #8E8B85;
--color-on-primary: #000000;
--color-accent: #5C5A55;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F0D;
--color-surface: #1A1917;
--color-border: #302E29;
--color-text: #FFFEFD;
--color-muted: #908F8E;
--color-primary: #F7F4ED;
--color-on-primary: #100F0D;
--color-accent: #BFBDB7;
--color-on-accent: #100F0D;
}
}
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 | adjusted for contrast · from #F7F4ED |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F7F4ED | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F7F4ED | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F7F4ED | adjusted for contrast · from #F7F4ED |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.75:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.18:1 | AA pass 4.5:1 | |
| Label on accent | 6.89:1 | AA pass 4.5:1 | |
| Primary on background | 3.37:1 | AA Large pass 3:1 | |
| Accent on background | 6.84:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.02:1 | AAA pass 4.5:1 | |
| Text on surface | 17.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.93:1 | AA pass 4.5:1 | |
| Label on primary | 17.44:1 | AAA pass 4.5:1 | |
| Label on accent | 10.20:1 | AAA pass 4.5:1 | |
| Primary on background | 17.44:1 | AAA pass 3:1 | |
| Accent on background | 10.20: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 | #F7F4ED (Text 1) | #F9F7F1 (Text 2) | #FBF9F5 (Text 3) | #FDFBF9 (Text 4) | #FFFEFD (Text 5) |
|---|---|---|---|---|---|
| #F7F4ED | Same color | 1.03— | 1.04— | 1.06— | 1.09— |
| #F9F7F1 | 1.03— | Same color | 1.02— | 1.04— | 1.06— |
| #FBF9F5 | 1.04— | 1.02— | Same color | 1.02— | 1.04— |
| #FDFBF9 | 1.06— | 1.04— | 1.02— | Same color | 1.02— |
| #FFFEFD | 1.09— | 1.06— | 1.04— | 1.02— | Same color |
Shades
Shades and tints (50–950)
