PreviewingGo to this paletteOpen in generator
Code
/* Cream Soft — colorset.net */
:root {
--color-1: #FFFEF0;
--color-2: #FFFFF4;
--color-3: #FFFFF8;
--color-4: #FFFFFC;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #555449;
--color-muted: #727265;
--color-primary: #8F8E81;
--color-on-primary: #000000;
--color-accent: #5D5C52;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #10100C;
--color-surface: #1A1A16;
--color-border: #2F2E27;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #FFFEF0;
--color-on-primary: #10100C;
--color-accent: #C7C6BB;
--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 #FFFEF0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFFEF0 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFFEF0 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFFEF0 | adjusted for contrast · from #FFFEF0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.87:1 | AA pass 4.5:1 | |
| Label on primary | 6.35:1 | AA pass 4.5:1 | |
| Label on accent | 6.73:1 | AA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 6.73: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.78:1 | AAA pass 4.5:1 | |
| Label on accent | 11.10:1 | AAA pass 4.5:1 | |
| Primary on background | 18.78:1 | AAA pass 3:1 | |
| Accent on background | 11.10: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 | #FFFEF0 (Text 1) | #FFFFF4 (Text 2) | #FFFFF8 (Text 3) | #FFFFFC (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #FFFEF0 | Same color | 1.01— | 1.01— | 1.01— | 1.02— |
| #FFFFF4 | 1.01— | Same color | 1.00— | 1.00— | 1.01— |
| #FFFFF8 | 1.01— | 1.00— | Same color | 1.00— | 1.00— |
| #FFFFFC | 1.01— | 1.00— | 1.00— | Same color | 1.00— |
| #FFFFFF | 1.02— | 1.01— | 1.00— | 1.00— | Same color |
Shades
Shades and tints (50–950)
