PreviewingGo to this paletteOpen in generator
Code
/* Champagne Bubble — colorset.net */
:root {
--color-1: #F7E7CE;
--color-2: #FAF0E6;
--color-3: #FDF5E6;
--color-4: #FFFACD;
--color-5: #F0E68C;
--color-bg: #F9F7EA;
--color-surface: #EFEEE1;
--color-border: #D7D6C5;
--color-text: #574F00;
--color-muted: #6E6C51;
--color-primary: #827814;
--color-on-primary: #FFFFFF;
--color-accent: #8D8678;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121000;
--color-surface: #1C1A06;
--color-border: #312F16;
--color-text: #FEFAD3;
--color-muted: #908D71;
--color-primary: #F0E68C;
--color-on-primary: #121000;
--color-accent: #B7AF65;
--color-on-accent: #121000;
}
}
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 #FDF5E6 | adjusted for contrast · from #F0E68C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F0E68C | adjusted for contrast · from #FFFACD |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F0E68C | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F0E68C | adjusted for contrast · from #F0E68C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 5.81:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 3.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.03:1 | AAA pass 4.5:1 | |
| Text on surface | 16.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.67:1 | AA pass 4.5:1 | |
| Label on primary | 14.91:1 | AAA pass 4.5:1 | |
| Label on accent | 8.49:1 | AAA pass 4.5:1 | |
| Primary on background | 14.91:1 | AAA pass 3:1 | |
| Accent on background | 8.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) | #FAF0E6 (Text 2) | #FDF5E6 (Text 3) | #FFFACD (Text 4) | #F0E68C (Text 5) |
|---|---|---|---|---|---|
| #F7E7CE | Same color | 1.08— | 1.12— | 1.15— | 1.05— |
| #FAF0E6 | 1.08— | Same color | 1.04— | 1.06— | 1.14— |
| #FDF5E6 | 1.12— | 1.04— | Same color | 1.02— | 1.18— |
| #FFFACD | 1.15— | 1.06— | 1.02— | Same color | 1.21— |
| #F0E68C | 1.05— | 1.14— | 1.18— | 1.21— | Same color |
Shades
Shades and tints (50–950)
