PreviewingGo to this paletteOpen in generator
Code
/* Champagne Beige — colorset.net */
:root {
--color-1: #F7E7CE;
--color-2: #EED9BD;
--color-3: #E5CBAC;
--color-4: #DCBD9B;
--color-5: #D3AF8A;
--color-bg: #F7E7CE;
--color-surface: #F9EFE0;
--color-border: #DFCEB4;
--color-text: #644522;
--color-muted: #77634F;
--color-primary: #A07E5A;
--color-on-primary: #000000;
--color-accent: #694F32;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170D04;
--color-surface: #22170C;
--color-border: #382B1D;
--color-text: #F7E7CE;
--color-muted: #90826B;
--color-primary: #D3AF8A;
--color-on-primary: #170D04;
--color-accent: #E5CBAC;
--color-on-accent: #170D04;
}
}
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 #D3AF8A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D3AF8A | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D3AF8A | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D3AF8A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.15:1 | AAA pass 4.5:1 | |
| Text on surface | 7.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 5.63:1 | AA pass 4.5:1 | |
| Label on accent | 7.59:1 | AAA pass 4.5:1 | |
| Primary on background | 3.07:1 | AA Large pass 3:1 | |
| Accent on background | 6.25:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.77:1 | AAA pass 4.5:1 | |
| Text on surface | 14.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 9.37:1 | AAA pass 4.5:1 | |
| Label on accent | 12.29:1 | AAA pass 4.5:1 | |
| Primary on background | 9.37:1 | AAA pass 3:1 | |
| Accent on background | 12.29: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) | #EED9BD (Text 2) | #E5CBAC (Text 3) | #DCBD9B (Text 4) | #D3AF8A (Text 5) |
|---|---|---|---|---|---|
| #F7E7CE | Same color | 1.13— | 1.28— | 1.46— | 1.68— |
| #EED9BD | 1.13— | Same color | 1.14— | 1.30— | 1.49— |
| #E5CBAC | 1.28— | 1.14— | Same color | 1.14— | 1.31— |
| #DCBD9B | 1.46— | 1.30— | 1.14— | Same color | 1.15— |
| #D3AF8A | 1.68— | 1.49— | 1.31— | 1.15— | Same color |
Shades
Shades and tints (50–950)
