PreviewingGo to this paletteOpen in generator
Code
/* Champagne Foam — colorset.net */
:root {
--color-1: #F7E7CE;
--color-2: #FAEDCD;
--color-3: #FFF3DB;
--color-4: #FFF9E9;
--color-5: #FFFEF7;
--color-bg: #FFFEF7;
--color-surface: #F6F5EE;
--color-border: #DEDCD2;
--color-text: #5C4F3A;
--color-muted: #7B6D56;
--color-primary: #978B6D;
--color-on-primary: #000000;
--color-accent: #635A42;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F08;
--color-surface: #1D1912;
--color-border: #332D23;
--color-text: #FFFEF7;
--color-muted: #908F89;
--color-primary: #FAEDCD;
--color-on-primary: #130F08;
--color-accent: #C1B69C;
--color-on-accent: #130F08;
}
}
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 #F7E7CE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F7E7CE | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F7E7CE | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F7E7CE | adjusted for contrast · from #F7E7CE |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.88:1 | AAA pass 4.5:1 | |
| Text on surface | 7.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 6.23:1 | AA pass 4.5:1 | |
| Label on accent | 6.84:1 | AA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 6.76:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.89:1 | AAA pass 4.5:1 | |
| Text on surface | 17.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.89:1 | AA pass 4.5:1 | |
| Label on primary | 16.43:1 | AAA pass 4.5:1 | |
| Label on accent | 9.49:1 | AAA pass 4.5:1 | |
| Primary on background | 16.43:1 | AAA pass 3:1 | |
| Accent on background | 9.49: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 | #F7E7CE (Text 1) | #FAEDCD (Text 2) | #FFF3DB (Text 3) | #FFF9E9 (Text 4) | #FFFEF7 (Text 5) |
|---|---|---|---|---|---|
| #F7E7CE | Same color | 1.05— | 1.11— | 1.16— | 1.20— |
| #FAEDCD | 1.05— | Same color | 1.06— | 1.11— | 1.15— |
| #FFF3DB | 1.11— | 1.06— | Same color | 1.05— | 1.09— |
| #FFF9E9 | 1.16— | 1.11— | 1.05— | Same color | 1.04— |
| #FFFEF7 | 1.20— | 1.15— | 1.09— | 1.04— | Same color |
Shades
Shades and tints (50–950)
