PreviewingGo to this paletteOpen in generator
Code
/* Ivory Marble — colorset.net */
:root {
--color-1: #F7F4EE;
--color-2: #8C6D46;
--color-3: #2F5266;
--color-4: #E4DFD5;
--color-5: #1E1D1C;
--color-bg: #F7F4EE;
--color-surface: #FDFBF8;
--color-border: #E0DBD2;
--color-text: #1E1D1C;
--color-muted: #706F6D;
--color-primary: #8C6D46;
--color-on-primary: #FFFFFF;
--color-accent: #2F5266;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1E1D1C;
--color-surface: #292827;
--color-border: #403D39;
--color-text: #F7F4EE;
--color-muted: #94918C;
--color-primary: #8C6D46;
--color-on-primary: #FFFFFF;
--color-accent: #53778C;
--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 | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #8C6D46 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.33:1 | AAA pass 4.5:1 | |
| Text on surface | 16.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.57:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 8.33:1 | AAA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 7.59:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.33:1 | AAA pass 4.5:1 | |
| Text on surface | 13.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.36:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 4.79:1 | AA pass 4.5:1 | |
| Primary on background | 3.52:1 | AA Large pass 3:1 | |
| Accent on background | 3.51: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 | #F7F4EE (Text 1) | #8C6D46 (Text 2) | #2F5266 (Text 3) | #E4DFD5 (Text 4) | #1E1D1C (Text 5) |
|---|---|---|---|---|---|
| #F7F4EE | Same color | 4.36AA Large | 7.59AAA | 1.21— | 15.33AAA |
| #8C6D46 | 4.36AA Large | Same color | 1.74— | 3.60AA Large | 3.52AA Large |
| #2F5266 | 7.59AAA | 1.74— | Same color | 6.28AA | 2.02— |
| #E4DFD5 | 1.21— | 3.60AA Large | 6.28AA | Same color | 12.67AAA |
| #1E1D1C | 15.33AAA | 3.52AA Large | 2.02— | 12.67AAA | Same color |
Shades
Shades and tints (50–950)
