PreviewingGo to this paletteOpen in generator
Code
/* Beige Cream — colorset.net */
:root {
--color-1: #F5ECD7;
--color-2: #F8F0E3;
--color-3: #FAF3ED;
--color-4: #FCF7F5;
--color-5: #FEFCFB;
--color-bg: #FEFCFB;
--color-surface: #F5F3F2;
--color-border: #DFD9D6;
--color-text: #58503F;
--color-muted: #766E5B;
--color-primary: #928A77;
--color-on-primary: #000000;
--color-accent: #5F594A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120F0A;
--color-surface: #1C1913;
--color-border: #312D24;
--color-text: #FEFCFB;
--color-muted: #8F8E8D;
--color-primary: #F5ECD7;
--color-on-primary: #120F0A;
--color-accent: #BCB5A4;
--color-on-accent: #120F0A;
}
}
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 #F5ECD7 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F5ECD7 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F5ECD7 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F5ECD7 | adjusted for contrast · from #F5ECD7 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.12:1 | AA pass 4.5:1 | |
| Label on accent | 6.97:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 6.81:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.69:1 | AAA pass 4.5:1 | |
| Text on surface | 17.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.85:1 | AA pass 4.5:1 | |
| Label on primary | 16.26:1 | AAA pass 4.5:1 | |
| Label on accent | 9.36:1 | AAA pass 4.5:1 | |
| Primary on background | 16.26:1 | AAA pass 3:1 | |
| Accent on background | 9.36: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 | #F5ECD7 (Text 1) | #F8F0E3 (Text 2) | #FAF3ED (Text 3) | #FCF7F5 (Text 4) | #FEFCFB (Text 5) |
|---|---|---|---|---|---|
| #F5ECD7 | Same color | 1.04— | 1.07— | 1.11— | 1.15— |
| #F8F0E3 | 1.04— | Same color | 1.03— | 1.06— | 1.11— |
| #FAF3ED | 1.07— | 1.03— | Same color | 1.03— | 1.07— |
| #FCF7F5 | 1.11— | 1.06— | 1.03— | Same color | 1.04— |
| #FEFCFB | 1.15— | 1.11— | 1.07— | 1.04— | Same color |
Shades
Shades and tints (50–950)
