PreviewingGo to this paletteOpen in generator
Code
/* Champagne Gold — colorset.net */
:root {
--color-1: #F7E7CE;
--color-2: #F1D5A7;
--color-3: #EDD382;
--color-4: #E8D75C;
--color-5: #E3DB37;
--color-bg: #F7E7CE;
--color-surface: #F9EFE0;
--color-border: #DFCEB4;
--color-text: #544B00;
--color-muted: #6E6A4F;
--color-primary: #7E7900;
--color-on-primary: #FFFFFF;
--color-accent: #9A8055;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #131000;
--color-surface: #1D1A06;
--color-border: #322E16;
--color-text: #F7E7CE;
--color-muted: #90826B;
--color-primary: #E3DB37;
--color-on-primary: #131000;
--color-accent: #F1D5A7;
--color-on-accent: #131000;
}
}
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 1 | adjusted for contrast · from #EDD382 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #EDD382 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E8D75C | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #EDD382 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.25:1 | AAA pass 4.5:1 | |
| Text on surface | 7.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.50:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 5.59:1 | AA pass 4.5:1 | |
| Primary on background | 3.74:1 | AA Large pass 3:1 | |
| Accent on background | 3.09:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.68:1 | AAA pass 4.5:1 | |
| Text on surface | 14.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 13.12:1 | AAA pass 4.5:1 | |
| Label on accent | 13.45:1 | AAA pass 4.5:1 | |
| Primary on background | 13.12:1 | AAA pass 3:1 | |
| Accent on background | 13.45: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) | #F1D5A7 (Text 2) | #EDD382 (Text 3) | #E8D75C (Text 4) | #E3DB37 (Text 5) |
|---|---|---|---|---|---|
| #F7E7CE | Same color | 1.17— | 1.21— | 1.21— | 1.20— |
| #F1D5A7 | 1.17— | Same color | 1.04— | 1.04— | 1.03— |
| #EDD382 | 1.21— | 1.04— | Same color | 1.00— | 1.01— |
| #E8D75C | 1.21— | 1.04— | 1.00— | Same color | 1.01— |
| #E3DB37 | 1.20— | 1.03— | 1.01— | 1.01— | Same color |
Shades
Shades and tints (50–950)
