PreviewingGo to this paletteOpen in generator
Code
/* Ivory White — colorset.net */
:root {
--color-1: #FFFEF7;
--color-2: #FFFBF0;
--color-3: #FFF8E1;
--color-4: #FFF3E0;
--color-5: #FFECB3;
--color-bg: #FFFEF7;
--color-surface: #F6F5EE;
--color-border: #DEDCD2;
--color-text: #604F18;
--color-muted: #776E54;
--color-primary: #9E8C57;
--color-on-primary: #000000;
--color-accent: #8F8E88;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F02;
--color-surface: #1E1908;
--color-border: #342D19;
--color-text: #FFFEF7;
--color-muted: #908F89;
--color-primary: #FFECB3;
--color-on-primary: #140F02;
--color-accent: #C4B587;
--color-on-accent: #140F02;
}
}
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 #FFECB3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFECB3 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFECB3 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFECB3 | adjusted for contrast · from #FFECB3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 6.34:1 | AA pass 4.5:1 | |
| Label on accent | 6.39:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.90:1 | AAA pass 4.5:1 | |
| Text on surface | 17.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.89:1 | AA pass 4.5:1 | |
| Label on primary | 16.29:1 | AAA pass 4.5:1 | |
| Label on accent | 9.38:1 | AAA pass 4.5:1 | |
| Primary on background | 16.29:1 | AAA pass 3:1 | |
| Accent on background | 9.38: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 | #FFFEF7 (Text 1) | #FFFBF0 (Text 2) | #FFF8E1 (Text 3) | #FFF3E0 (Text 4) | #FFECB3 (Text 5) |
|---|---|---|---|---|---|
| #FFFEF7 | Same color | 1.02— | 1.05— | 1.08— | 1.16— |
| #FFFBF0 | 1.02— | Same color | 1.03— | 1.06— | 1.13— |
| #FFF8E1 | 1.05— | 1.03— | Same color | 1.03— | 1.10— |
| #FFF3E0 | 1.08— | 1.06— | 1.03— | Same color | 1.07— |
| #FFECB3 | 1.16— | 1.13— | 1.10— | 1.07— | Same color |
Shades
Shades and tints (50–950)
