PreviewingGo to this paletteOpen in generator
Code
/* Gravel Road — colorset.net */
:root {
--color-1: #4B4B4D;
--color-2: #5D5D5F;
--color-3: #6F6F71;
--color-4: #818183;
--color-5: #939395;
--color-bg: #F7F7F7;
--color-surface: #EDEDEE;
--color-border: #D4D4D9;
--color-text: #4B4B4D;
--color-muted: #6B6B6D;
--color-primary: #818183;
--color-on-primary: #000000;
--color-accent: #5D5D5F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F10;
--color-surface: #19191A;
--color-border: #2D2D31;
--color-text: #A5A5A7;
--color-muted: #838385;
--color-primary: #818183;
--color-on-primary: #0F0F10;
--color-accent: #676769;
--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 | adjusted for contrast · from #939395 | adjusted for contrast · from #4B4B4D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #939395 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #6F6F71 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.12:1 | AAA pass 4.5:1 | |
| Text on surface | 7.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.40:1 | AA pass 4.5:1 | |
| Label on accent | 6.57:1 | AA pass 4.5:1 | |
| Primary on background | 3.63:1 | AA Large pass 3:1 | |
| Accent on background | 6.13:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.93:1 | AA pass 4.5:1 | |
| Label on accent | 5.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.93:1 | AA 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 | #4B4B4D (Text 1) | #5D5D5F (Text 2) | #6F6F71 (Text 3) | #818183 (Text 4) | #939395 (Text 5) |
|---|---|---|---|---|---|
| #4B4B4D | Same color | 1.32— | 1.74— | 2.24— | 2.84— |
| #5D5D5F | 1.32— | Same color | 1.31— | 1.69— | 2.14— |
| #6F6F71 | 1.74— | 1.31— | Same color | 1.29— | 1.64— |
| #818183 | 2.24— | 1.69— | 1.29— | Same color | 1.27— |
| #939395 | 2.84— | 2.14— | 1.64— | 1.27— | Same color |
Shades
Shades and tints (50–950)
