PreviewingGo to this paletteOpen in generator
Code
/* Champagne Onyx — colorset.net */
:root {
--color-1: #131211;
--color-2: #E6CFA1;
--color-3: #B8924A;
--color-4: #3A3631;
--color-5: #FAF6EC;
--color-bg: #FAF6EC;
--color-surface: #F1EDE3;
--color-border: #D9D4C7;
--color-text: #131211;
--color-muted: #686766;
--color-primary: #A8833A;
--color-on-primary: #131211;
--color-accent: #3A3631;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #131211;
--color-surface: #1D1C1B;
--color-border: #34302D;
--color-text: #FAF6EC;
--color-muted: #908C83;
--color-primary: #B8924A;
--color-on-primary: #131211;
--color-accent: #686765;
--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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8924A | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #3A3631 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.34:1 | AAA pass 4.5:1 | |
| Text on surface | 16.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.23:1 | AA pass 4.5:1 | |
| Label on primary | 5.32:1 | AA pass 4.5:1 | |
| Label on accent | 11.99:1 | AAA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 11.11:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.34:1 | AAA pass 4.5:1 | |
| Text on surface | 15.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.58:1 | AA pass 4.5:1 | |
| Label on primary | 6.46:1 | AA pass 4.5:1 | |
| Label on accent | 5.65:1 | AA pass 4.5:1 | |
| Primary on background | 6.46:1 | AA pass 3:1 | |
| Accent on background | 3.31: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 | #131211 (Text 1) | #E6CFA1 (Text 2) | #B8924A (Text 3) | #3A3631 (Text 4) | #FAF6EC (Text 5) |
|---|---|---|---|---|---|
| #131211 | Same color | 12.30AAA | 6.46AA | 1.56— | 17.34AAA |
| #E6CFA1 | 12.30AAA | Same color | 1.90— | 7.88AAA | 1.41— |
| #B8924A | 6.46AA | 1.90— | Same color | 4.14AA Large | 2.68— |
| #3A3631 | 1.56— | 7.88AAA | 4.14AA Large | Same color | 11.11AAA |
| #FAF6EC | 17.34AAA | 1.41— | 2.68— | 11.11AAA | Same color |
Shades
Shades and tints (50–950)
