PreviewingGo to this paletteOpen in generator
Code
/* Polished Marble — colorset.net */
:root {
--color-1: #F5F3EE;
--color-2: #F8F7F3;
--color-3: #FBFAF8;
--color-4: #FEFDFC;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #55544F;
--color-muted: #72716C;
--color-primary: #8F8D89;
--color-on-primary: #000000;
--color-accent: #5D5C58;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F0E;
--color-surface: #1A1918;
--color-border: #2F2E29;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #F5F3EE;
--color-on-primary: #100F0E;
--color-accent: #BDBCB8;
--color-on-accent: #100F0E;
}
}
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 | adjusted for contrast · from #F5F3EE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F5F3EE | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F5F3EE | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F5F3EE | adjusted for contrast · from #F5F3EE |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.59:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 6.34:1 | AA pass 4.5:1 | |
| Label on accent | 6.69:1 | AA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 6.69:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.15:1 | AAA pass 4.5:1 | |
| Text on surface | 17.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.92:1 | AA pass 4.5:1 | |
| Label on primary | 17.27:1 | AAA pass 4.5:1 | |
| Label on accent | 10.07:1 | AAA pass 4.5:1 | |
| Primary on background | 17.27:1 | AAA pass 3:1 | |
| Accent on background | 10.07:1 | AAA 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) | #F8F7F3 (Text 2) | #FBFAF8 (Text 3) | #FEFDFC (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #F5F3EE | Same color | 1.03— | 1.06— | 1.09— | 1.11— |
| #F8F7F3 | 1.03— | Same color | 1.03— | 1.06— | 1.07— |
| #FBFAF8 | 1.06— | 1.03— | Same color | 1.03— | 1.04— |
| #FEFDFC | 1.09— | 1.06— | 1.03— | Same color | 1.02— |
| #FFFFFF | 1.11— | 1.07— | 1.04— | 1.02— | Same color |
Shades
Shades and tints (50–950)
