PreviewingGo to this paletteOpen in generator
Code
/* Espresso Gilt — colorset.net */
:root {
--color-1: #1A1410;
--color-2: #C9A46A;
--color-3: #6B4F35;
--color-4: #3B3028;
--color-5: #F3EADB;
--color-bg: #F3EADB;
--color-surface: #F7F2E9;
--color-border: #DCD1BF;
--color-text: #1A1410;
--color-muted: #6C645F;
--color-primary: #937037;
--color-on-primary: #FFFFFF;
--color-accent: #3B3028;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A1410;
--color-surface: #251E1A;
--color-border: #3C322C;
--color-text: #F3EADB;
--color-muted: #90877A;
--color-primary: #C9A46A;
--color-on-primary: #1A1410;
--color-accent: #716964;
--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 #6B4F35 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #6B4F35 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.29:1 | AAA pass 4.5:1 | |
| Text on surface | 16.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.85:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 12.81:1 | AAA pass 4.5:1 | |
| Primary on background | 3.82:1 | AA Large pass 3:1 | |
| Accent on background | 10.74:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.29:1 | AAA pass 4.5:1 | |
| Text on surface | 13.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 7.82:1 | AAA pass 4.5:1 | |
| Label on accent | 5.38:1 | AA pass 4.5:1 | |
| Primary on background | 7.82:1 | AAA 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 | #1A1410 (Text 1) | #C9A46A (Text 2) | #6B4F35 (Text 3) | #3B3028 (Text 4) | #F3EADB (Text 5) |
|---|---|---|---|---|---|
| #1A1410 | Same color | 7.82AAA | 2.43— | 1.42— | 15.29AAA |
| #C9A46A | 7.82AAA | Same color | 3.22AA Large | 5.49AA | 1.96— |
| #6B4F35 | 2.43— | 3.22AA Large | Same color | 1.70— | 6.30AA |
| #3B3028 | 1.42— | 5.49AA | 1.70— | Same color | 10.74AAA |
| #F3EADB | 15.29AAA | 1.96— | 6.30AA | 10.74AAA | Same color |
Shades
Shades and tints (50–950)
