PreviewingGo to this paletteOpen in generator
Code
/* Marble & Brass — colorset.net */
:root {
--color-1: #F3F2EF;
--color-2: #2B2E33;
--color-3: #BDA06E;
--color-4: #CDCAC3;
--color-5: #101214;
--color-bg: #F3F2EF;
--color-surface: #FAF9F8;
--color-border: #DBD9D3;
--color-text: #101214;
--color-muted: #636669;
--color-primary: #A48856;
--color-on-primary: #101214;
--color-accent: #2B2E33;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #101214;
--color-surface: #1A1C1E;
--color-border: #2D3136;
--color-text: #F3F2EF;
--color-muted: #8B8A87;
--color-primary: #BDA06E;
--color-on-primary: #101214;
--color-accent: #67696C;
--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 #BDA06E | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #BDA06E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.77:1 | AAA pass 4.5:1 | |
| Text on surface | 17.85:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.16:1 | AA pass 4.5:1 | |
| Label on primary | 5.57:1 | AA pass 4.5:1 | |
| Label on accent | 13.62:1 | AAA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 12.17:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.77:1 | AAA pass 4.5:1 | |
| Text on surface | 15.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.44:1 | AA pass 4.5:1 | |
| Label on primary | 7.52:1 | AAA pass 4.5:1 | |
| Label on accent | 5.51:1 | AA pass 4.5:1 | |
| Primary on background | 7.52:1 | AAA pass 3:1 | |
| Accent on background | 3.41: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 | #F3F2EF (Text 1) | #2B2E33 (Text 2) | #BDA06E (Text 3) | #CDCAC3 (Text 4) | #101214 (Text 5) |
|---|---|---|---|---|---|
| #F3F2EF | Same color | 12.17AAA | 2.23— | 1.46— | 16.77AAA |
| #2B2E33 | 12.17AAA | Same color | 5.46AA | 8.33AAA | 1.38— |
| #BDA06E | 2.23— | 5.46AA | Same color | 1.52— | 7.52AAA |
| #CDCAC3 | 1.46— | 8.33AAA | 1.52— | Same color | 11.47AAA |
| #101214 | 16.77AAA | 1.38— | 7.52AAA | 11.47AAA | Same color |
Shades
Shades and tints (50–950)
