PreviewingGo to this paletteOpen in generator
Code
/* Eggshell Butter — colorset.net */
:root {
--color-1: #FFFACD;
--color-2: #FFFDD0;
--color-3: #FFFFE0;
--color-4: #FFFFF0;
--color-5: #FFFFFE;
--color-bg: #FFFFFE;
--color-surface: #F6F6F5;
--color-border: #DDDDD8;
--color-text: #58532C;
--color-muted: #747156;
--color-primary: #959067;
--color-on-primary: #000000;
--color-accent: #625E3D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #111005;
--color-surface: #1B1A0D;
--color-border: #302E1E;
--color-text: #FFFFFE;
--color-muted: #8F8F8F;
--color-primary: #FFFACD;
--color-on-primary: #111005;
--color-accent: #C6C29D;
--color-on-accent: #111005;
}
}
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 #FFFACD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFFACD | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFFACD | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFFACD | adjusted for contrast · from #FFFACD |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.46:1 | AA pass 4.5:1 | |
| Label on accent | 6.59:1 | AA pass 4.5:1 | |
| Primary on background | 3.25:1 | AA Large pass 3:1 | |
| Accent on background | 6.58:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.08:1 | AAA pass 4.5:1 | |
| Text on surface | 17.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.90:1 | AA pass 4.5:1 | |
| Label on primary | 18.00:1 | AAA pass 4.5:1 | |
| Label on accent | 10.55:1 | AAA pass 4.5:1 | |
| Primary on background | 18.00:1 | AAA pass 3:1 | |
| Accent on background | 10.55: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 | #FFFACD (Text 1) | #FFFDD0 (Text 2) | #FFFFE0 (Text 3) | #FFFFF0 (Text 4) | #FFFFFE (Text 5) |
|---|---|---|---|---|---|
| #FFFACD | Same color | 1.02— | 1.04— | 1.05— | 1.06— |
| #FFFDD0 | 1.02— | Same color | 1.02— | 1.03— | 1.04— |
| #FFFFE0 | 1.04— | 1.02— | Same color | 1.01— | 1.02— |
| #FFFFF0 | 1.05— | 1.03— | 1.01— | Same color | 1.01— |
| #FFFFFE | 1.06— | 1.04— | 1.02— | 1.01— | Same color |
Shades
Shades and tints (50–950)
