PreviewingGo to this paletteOpen in generator
Code
/* Cream Soda — colorset.net */
:root {
--color-1: #FFFAF2;
--color-2: #F2B5A0;
--color-3: #9FD3C7;
--color-4: #F4D58D;
--color-5: #4A3B36;
--color-bg: #FFFAF2;
--color-surface: #F6F1E9;
--color-border: #DFD8CD;
--color-text: #4A3B36;
--color-muted: #7A6A64;
--color-primary: #A3863F;
--color-on-primary: #000000;
--color-accent: #629489;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130E0C;
--color-surface: #1D1816;
--color-border: #342C29;
--color-text: #FFFAF2;
--color-muted: #918D85;
--color-primary: #F4D58D;
--color-on-primary: #130E0C;
--color-accent: #9FD3C7;
--color-on-accent: #130E0C;
}
}
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 #4A3B36 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F2B5A0 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9FD3C7 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.26:1 | AAA pass 4.5:1 | |
| Text on surface | 9.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 6.04:1 | AA pass 4.5:1 | |
| Label on accent | 6.12:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.44:1 | AAA pass 4.5:1 | |
| Text on surface | 16.92:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.80:1 | AA pass 4.5:1 | |
| Label on primary | 13.46:1 | AAA pass 4.5:1 | |
| Label on accent | 11.51:1 | AAA pass 4.5:1 | |
| Primary on background | 13.46:1 | AAA pass 3:1 | |
| Accent on background | 11.51: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 | #FFFAF2 (Text 1) | #F2B5A0 (Text 2) | #9FD3C7 (Text 3) | #F4D58D (Text 4) | #4A3B36 (Text 5) |
|---|---|---|---|---|---|
| #FFFAF2 | Same color | 1.70— | 1.60— | 1.37— | 10.26AAA |
| #F2B5A0 | 1.70— | Same color | 1.06— | 1.24— | 6.04AA |
| #9FD3C7 | 1.60— | 1.06— | Same color | 1.17— | 6.40AA |
| #F4D58D | 1.37— | 1.24— | 1.17— | Same color | 7.49AAA |
| #4A3B36 | 10.26AAA | 6.04AA | 6.40AA | 7.49AAA | Same color |
Shades
Shades and tints (50–950)
