PreviewingGo to this paletteOpen in generator
Code
/* Cream Custard — colorset.net */
:root {
--color-1: #FFFDD0;
--color-2: #FFEFD5;
--color-3: #FFF8DC;
--color-4: #FFFACD;
--color-5: #FFFFE0;
--color-bg: #FFFFE0;
--color-surface: #F6F6D7;
--color-border: #DDDDBF;
--color-text: #5D503A;
--color-muted: #7B6D56;
--color-primary: #928D64;
--color-on-primary: #000000;
--color-accent: #5F5B3B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F08;
--color-surface: #1D1911;
--color-border: #332D22;
--color-text: #FFFFE0;
--color-muted: #909074;
--color-primary: #FFFACD;
--color-on-primary: #130F08;
--color-accent: #C6C29D;
--color-on-accent: #130F08;
}
}
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 #FFEFD5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFEFD5 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFEFD5 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFEFD5 | adjusted for contrast · from #FFEFD5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.22:1 | AA pass 4.5:1 | |
| Label on accent | 6.89:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.77:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.76:1 | AAA pass 4.5:1 | |
| Text on surface | 17.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.85:1 | AA pass 4.5:1 | |
| Label on primary | 18.01:1 | AAA pass 4.5:1 | |
| Label on accent | 10.55:1 | AAA pass 4.5:1 | |
| Primary on background | 18.01: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 | #FFFDD0 (Text 1) | #FFEFD5 (Text 2) | #FFF8DC (Text 3) | #FFFACD (Text 4) | #FFFFE0 (Text 5) |
|---|---|---|---|---|---|
| #FFFDD0 | Same color | 1.09— | 1.03— | 1.02— | 1.02— |
| #FFEFD5 | 1.09— | Same color | 1.06— | 1.07— | 1.11— |
| #FFF8DC | 1.03— | 1.06— | Same color | 1.00— | 1.05— |
| #FFFACD | 1.02— | 1.07— | 1.00— | Same color | 1.04— |
| #FFFFE0 | 1.02— | 1.11— | 1.05— | 1.04— | Same color |
Shades
Shades and tints (50–950)
