PreviewingGo to this paletteOpen in generator
Code
/* Champagne Ivory — colorset.net */
:root {
--color-1: #F6F0E1;
--color-2: #1C3B36;
--color-3: #B8893A;
--color-4: #DCCDAE;
--color-5: #1A1814;
--color-bg: #F6F0E1;
--color-surface: #FBF7EE;
--color-border: #DFD7C5;
--color-text: #1A1814;
--color-muted: #6C6964;
--color-primary: #9C6E18;
--color-on-primary: #FFFFFF;
--color-accent: #1C3B36;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A1814;
--color-surface: #25231E;
--color-border: #3B3730;
--color-text: #F6F0E1;
--color-muted: #928C7F;
--color-primary: #B8893A;
--color-on-primary: #1A1814;
--color-accent: #716E69;
--color-on-accent: #FFFFFF;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8893A | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #B8893A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.59:1 | AAA pass 4.5:1 | |
| Text on surface | 16.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.81:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 12.15:1 | AAA pass 4.5:1 | |
| Primary on background | 3.97:1 | AA Large pass 3:1 | |
| Accent on background | 10.69:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.59:1 | AAA pass 4.5:1 | |
| Text on surface | 13.81:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 5.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.08:1 | AA pass 4.5:1 | |
| Primary on background | 5.64:1 | AA pass 3:1 | |
| Accent on background | 3.49:1 | AA Large 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 | #F6F0E1 (Text 1) | #1C3B36 (Text 2) | #B8893A (Text 3) | #DCCDAE (Text 4) | #1A1814 (Text 5) |
|---|---|---|---|---|---|
| #F6F0E1 | Same color | 10.69AAA | 2.77— | 1.38— | 15.59AAA |
| #1C3B36 | 10.69AAA | Same color | 3.86AA Large | 7.75AAA | 1.46— |
| #B8893A | 2.77— | 3.86AA Large | Same color | 2.00— | 5.64AA |
| #DCCDAE | 1.38— | 7.75AAA | 2.00— | Same color | 11.30AAA |
| #1A1814 | 15.59AAA | 1.46— | 5.64AA | 11.30AAA | Same color |
Shades
Shades and tints (50–950)
