PreviewingGo to this paletteOpen in generator
Code
/* Tuxedo Lapel — colorset.net */
:root {
--color-1: #F5F3EE;
--color-2: #111111;
--color-3: #B08D3C;
--color-4: #D9D2C2;
--color-5: #5A554A;
--color-bg: #F5F3EE;
--color-surface: #FCFAF7;
--color-border: #DEDAD2;
--color-text: #111111;
--color-muted: #656565;
--color-primary: #AA8735;
--color-on-primary: #111111;
--color-accent: #8C8A86;
--color-on-accent: #111111;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #111111;
--color-surface: #1B1B1B;
--color-border: #322F30;
--color-text: #F5F3EE;
--color-muted: #8C8A86;
--color-primary: #B08D3C;
--color-on-primary: #111111;
--color-accent: #686868;
--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 2 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 2 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B08D3C | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B08D3C | adjusted for contrast · from #5A554A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.03:1 | AAA pass 4.5:1 | |
| Text on surface | 18.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 5.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.48:1 | AA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 3.11:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.03:1 | AAA pass 4.5:1 | |
| Text on surface | 15.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.48:1 | AA pass 4.5:1 | |
| Label on primary | 6.04:1 | AA pass 4.5:1 | |
| Label on accent | 5.57:1 | AA pass 4.5:1 | |
| Primary on background | 6.04:1 | AA pass 3:1 | |
| Accent on background | 3.39: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 | #F5F3EE (Text 1) | #111111 (Text 2) | #B08D3C (Text 3) | #D9D2C2 (Text 4) | #5A554A (Text 5) |
|---|---|---|---|---|---|
| #F5F3EE | Same color | 17.03AAA | 2.82— | 1.36— | 6.68AA |
| #111111 | 17.03AAA | Same color | 6.04AA | 12.54AAA | 2.55— |
| #B08D3C | 2.82— | 6.04AA | Same color | 2.08— | 2.37— |
| #D9D2C2 | 1.36— | 12.54AAA | 2.08— | Same color | 4.92AA |
| #5A554A | 6.68AA | 2.55— | 2.37— | 4.92AA | Same color |
Shades
Shades and tints (50–950)
