PreviewingGo to this paletteOpen in generator
Code
/* Cream Gold — colorset.net */
:root {
--color-1: #FFFACD;
--color-2: #FFF8DC;
--color-3: #FFEBCD;
--color-4: #FFEFD5;
--color-5: #FFF8DC;
--color-bg: #F9F7EA;
--color-surface: #EFEEE1;
--color-border: #D7D6C5;
--color-text: #5D4C33;
--color-muted: #786951;
--color-primary: #8F8A61;
--color-on-primary: #000000;
--color-accent: #5D5838;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140E07;
--color-surface: #1E1810;
--color-border: #342D21;
--color-text: #FEFAD3;
--color-muted: #908D71;
--color-primary: #FFFACD;
--color-on-primary: #140E07;
--color-accent: #C6C29D;
--color-on-accent: #140E07;
}
}
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 #FFF8DC | adjusted for contrast · from #FFEBCD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFEBCD | adjusted for contrast · from #FFFACD |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFEBCD | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFEBCD | adjusted for contrast · from #FFEBCD |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 7.20:1 | AAA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 6.69:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.10:1 | AAA pass 4.5:1 | |
| Text on surface | 16.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.69:1 | AA pass 4.5:1 | |
| Label on primary | 18.08:1 | AAA pass 4.5:1 | |
| Label on accent | 10.59:1 | AAA pass 4.5:1 | |
| Primary on background | 18.08:1 | AAA pass 3:1 | |
| Accent on background | 10.59: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 | #FFFACD (Text 1) | #FFF8DC (Text 2) | #FFEBCD (Text 3) | #FFEFD5 (Text 4) | #FFF8DC (Text 5) |
|---|---|---|---|---|---|
| #FFFACD | Same color | 1.00— | 1.10— | 1.07— | 1.00— |
| #FFF8DC | 1.00— | Same color | 1.09— | 1.06— | 1.00— |
| #FFEBCD | 1.10— | 1.09— | Same color | 1.03— | 1.09— |
| #FFEFD5 | 1.07— | 1.06— | 1.03— | Same color | 1.06— |
| #FFF8DC | 1.00— | 1.00— | 1.09— | 1.06— | Same color |
Shades
Shades and tints (50–950)
