PreviewingGo to this paletteOpen in generator
Code
/* Clotted Cream — colorset.net */
:root {
--color-1: #FFFDD0;
--color-2: #FFFED5;
--color-3: #FFFEDA;
--color-4: #FFFFDF;
--color-5: #FFFFE4;
--color-bg: #FFFFE4;
--color-surface: #F6F6DB;
--color-border: #DDDDBF;
--color-text: #55532C;
--color-muted: #717055;
--color-primary: #8F8D64;
--color-on-primary: #000000;
--color-accent: #5D5B3A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #111005;
--color-surface: #1B1A0D;
--color-border: #302F1E;
--color-text: #FFFFE4;
--color-muted: #909078;
--color-primary: #FFFDD0;
--color-on-primary: #111005;
--color-accent: #C6C5A0;
--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 #FFFDD0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFFDD0 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFFDD0 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFFDD0 | adjusted for contrast · from #FFFDD0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 6.16:1 | AA pass 4.5:1 | |
| Label on accent | 6.95:1 | AA pass 4.5:1 | |
| Primary on background | 3.36:1 | AA Large pass 3:1 | |
| Accent on background | 6.84:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.79:1 | AAA pass 4.5:1 | |
| Text on surface | 17.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.86:1 | AA pass 4.5:1 | |
| Label on primary | 18.37:1 | AAA pass 4.5:1 | |
| Label on accent | 10.81:1 | AAA pass 4.5:1 | |
| Primary on background | 18.37:1 | AAA pass 3:1 | |
| Accent on background | 10.81: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) | #FFFED5 (Text 2) | #FFFEDA (Text 3) | #FFFFDF (Text 4) | #FFFFE4 (Text 5) |
|---|---|---|---|---|---|
| #FFFDD0 | Same color | 1.01— | 1.01— | 1.02— | 1.02— |
| #FFFED5 | 1.01— | Same color | 1.00— | 1.01— | 1.01— |
| #FFFEDA | 1.01— | 1.00— | Same color | 1.01— | 1.01— |
| #FFFFDF | 1.02— | 1.01— | 1.01— | Same color | 1.00— |
| #FFFFE4 | 1.02— | 1.01— | 1.01— | 1.00— | Same color |
Shades
Shades and tints (50–950)
