PreviewingGo to this paletteOpen in generator
Code
/* Ivory Candle — colorset.net */
:root {
--color-1: #FFFFF0;
--color-2: #FFFFF5;
--color-3: #FFFFFA;
--color-4: #FFFFFD;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #525246;
--color-muted: #717063;
--color-primary: #8F8F81;
--color-on-primary: #000000;
--color-accent: #5D5D52;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #10100C;
--color-surface: #1A1A16;
--color-border: #2E2E27;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #FFFFF0;
--color-on-primary: #10100C;
--color-accent: #C7C7BB;
--color-on-accent: #10100C;
}
}
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 #FFFFF0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFFFF0 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFFFF0 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFFFF0 | adjusted for contrast · from #FFFFF0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.91:1 | AAA pass 4.5:1 | |
| Text on surface | 7.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 6.41:1 | AA pass 4.5:1 | |
| Label on accent | 6.66:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 6.66:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.07:1 | AAA pass 4.5:1 | |
| Text on surface | 17.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.90:1 | AA pass 4.5:1 | |
| Label on primary | 18.90:1 | AAA pass 4.5:1 | |
| Label on accent | 11.18:1 | AAA pass 4.5:1 | |
| Primary on background | 18.90:1 | AAA pass 3:1 | |
| Accent on background | 11.18: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 | #FFFFF0 (Text 1) | #FFFFF5 (Text 2) | #FFFFFA (Text 3) | #FFFFFD (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #FFFFF0 | Same color | 1.00— | 1.01— | 1.01— | 1.01— |
| #FFFFF5 | 1.00— | Same color | 1.00— | 1.00— | 1.01— |
| #FFFFFA | 1.01— | 1.00— | Same color | 1.00— | 1.00— |
| #FFFFFD | 1.01— | 1.00— | 1.00— | Same color | 1.00— |
| #FFFFFF | 1.01— | 1.01— | 1.00— | 1.00— | Same color |
Shades
Shades and tints (50–950)
