PreviewingGo to this paletteOpen in generator
Code
/* Chantilly Lace — colorset.net */
:root {
--color-1: #FFF8E7;
--color-2: #FFFAED;
--color-3: #FFFBF0;
--color-4: #FFFEF5;
--color-5: #FFFFFE;
--color-bg: #FFFFFE;
--color-surface: #F6F6F5;
--color-border: #DDDDD8;
--color-text: #585244;
--color-muted: #767061;
--color-primary: #928C7C;
--color-on-primary: #000000;
--color-accent: #5F5B4E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110F0B;
--color-surface: #1B1915;
--color-border: #312E26;
--color-text: #FFFFFE;
--color-muted: #8F8F8F;
--color-primary: #FFF8E7;
--color-on-primary: #110F0B;
--color-accent: #C6C0B3;
--color-on-accent: #110F0B;
}
}
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 #FFF8E7 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFF8E7 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFF8E7 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFF8E7 | adjusted for contrast · from #FFF8E7 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 6.26:1 | AA pass 4.5:1 | |
| Label on accent | 6.79:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 6.79:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.13:1 | AAA pass 4.5:1 | |
| Text on surface | 17.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.92:1 | AA pass 4.5:1 | |
| Label on primary | 18.08:1 | AAA pass 4.5:1 | |
| Label on accent | 10.57:1 | AAA pass 4.5:1 | |
| Primary on background | 18.08:1 | AAA pass 3:1 | |
| Accent on background | 10.57: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 | #FFF8E7 (Text 1) | #FFFAED (Text 2) | #FFFBF0 (Text 3) | #FFFEF5 (Text 4) | #FFFFFE (Text 5) |
|---|---|---|---|---|---|
| #FFF8E7 | Same color | 1.02— | 1.02— | 1.05— | 1.06— |
| #FFFAED | 1.02— | Same color | 1.01— | 1.03— | 1.04— |
| #FFFBF0 | 1.02— | 1.01— | Same color | 1.02— | 1.03— |
| #FFFEF5 | 1.05— | 1.03— | 1.02— | Same color | 1.01— |
| #FFFFFE | 1.06— | 1.04— | 1.03— | 1.01— | Same color |
Shades
Shades and tints (50–950)
