PreviewingGo to this paletteOpen in generator
Code
/* Buttermilk Cream — colorset.net */
:root {
--color-1: #F4E4BC;
--color-2: #F7E7BF;
--color-3: #FAEAC2;
--color-4: #FDEDC5;
--color-5: #FFF0C8;
--color-bg: #FBF7EB;
--color-surface: #F2EDE1;
--color-border: #DAD5C5;
--color-text: #5A4C29;
--color-muted: #736950;
--color-primary: #948560;
--color-on-primary: #000000;
--color-accent: #605437;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F05;
--color-surface: #1E190D;
--color-border: #332D1E;
--color-text: #FFF0C8;
--color-muted: #91876D;
--color-primary: #F4E4BC;
--color-on-primary: #130F05;
--color-accent: #BAAD8D;
--color-on-accent: #130F05;
}
}
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 | adjusted for contrast · from #FFF0C8 | adjusted for contrast · from #F4E4BC |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F4E4BC | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F4E4BC | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F4E4BC | adjusted for contrast · from #F4E4BC |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 5.78:1 | AA pass 4.5:1 | |
| Label on accent | 7.45:1 | AAA pass 4.5:1 | |
| Primary on background | 3.39:1 | AA Large pass 3:1 | |
| Accent on background | 6.95:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.89:1 | AAA pass 4.5:1 | |
| Text on surface | 15.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.36:1 | AA pass 4.5:1 | |
| Label on primary | 15.18:1 | AAA pass 4.5:1 | |
| Label on accent | 8.60:1 | AAA pass 4.5:1 | |
| Primary on background | 15.18:1 | AAA pass 3:1 | |
| Accent on background | 8.60: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 | #F4E4BC (Text 1) | #F7E7BF (Text 2) | #FAEAC2 (Text 3) | #FDEDC5 (Text 4) | #FFF0C8 (Text 5) |
|---|---|---|---|---|---|
| #F4E4BC | Same color | 1.03— | 1.06— | 1.09— | 1.11— |
| #F7E7BF | 1.03— | Same color | 1.03— | 1.06— | 1.08— |
| #FAEAC2 | 1.06— | 1.03— | Same color | 1.03— | 1.05— |
| #FDEDC5 | 1.09— | 1.06— | 1.03— | Same color | 1.03— |
| #FFF0C8 | 1.11— | 1.08— | 1.05— | 1.03— | Same color |
Shades
Shades and tints (50–950)
