PreviewingGo to this paletteOpen in generator
Code
/* Stone Grey — colorset.net */
:root {
--color-1: #8B7D6B;
--color-2: #9D8F7D;
--color-3: #AFA18F;
--color-4: #C1B3A1;
--color-5: #D3C5B3;
--color-bg: #FAF6F0;
--color-surface: #F1EDE7;
--color-border: #DAD4CB;
--color-text: #5A4D3C;
--color-muted: #766957;
--color-primary: #8B7D6B;
--color-on-primary: #000000;
--color-accent: #584D3F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F09;
--color-surface: #1D1913;
--color-border: #332D24;
--color-text: #D3C5B3;
--color-muted: #8F8271;
--color-primary: #8B7D6B;
--color-on-primary: #130F09;
--color-accent: #C1B3A1;
--color-on-accent: #130F09;
}
}
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 | adjusted for contrast · from #D3C5B3 | adjusted for contrast · from #8B7D6B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B7D6B | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8B7D6B | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.61:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.24:1 | AA pass 4.5:1 | |
| Label on accent | 8.24:1 | AAA pass 4.5:1 | |
| Primary on background | 3.72:1 | AA Large pass 3:1 | |
| Accent on background | 7.65:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.28:1 | AAA pass 4.5:1 | |
| Text on surface | 10.33:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.77:1 | AA pass 4.5:1 | |
| Label on accent | 9.30:1 | AAA pass 4.5:1 | |
| Primary on background | 4.77:1 | AA pass 3:1 | |
| Accent on background | 9.30: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 | #8B7D6B (Text 1) | #9D8F7D (Text 2) | #AFA18F (Text 3) | #C1B3A1 (Text 4) | #D3C5B3 (Text 5) |
|---|---|---|---|---|---|
| #8B7D6B | Same color | 1.27— | 1.59— | 1.95— | 2.37— |
| #9D8F7D | 1.27— | Same color | 1.25— | 1.54— | 1.86— |
| #AFA18F | 1.59— | 1.25— | Same color | 1.23— | 1.49— |
| #C1B3A1 | 1.95— | 1.54— | 1.23— | Same color | 1.21— |
| #D3C5B3 | 2.37— | 1.86— | 1.49— | 1.21— | Same color |
Shades
Shades and tints (50–950)
