PreviewingGo to this paletteOpen in generator
Code
/* Pebble Greige — colorset.net */
:root {
--color-1: #B7B7A4;
--color-2: #C8C8B5;
--color-3: #D9D9C6;
--color-4: #EAEAE7;
--color-5: #FBFBF8;
--color-bg: #FBFBF8;
--color-surface: #F2F2EF;
--color-border: #D9D9D3;
--color-text: #525241;
--color-muted: #6F6F5D;
--color-primary: #8C8C7A;
--color-on-primary: #000000;
--color-accent: #5A5A4C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #10100A;
--color-surface: #1A1A14;
--color-border: #2F2E26;
--color-text: #FBFBF8;
--color-muted: #8D8D8B;
--color-primary: #B7B7A4;
--color-on-primary: #10100A;
--color-accent: #EAEAE7;
--color-on-accent: #10100A;
}
}
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 #B7B7A4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B7B7A4 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B7B7A4 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B7B7A4 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 6.15:1 | AA pass 4.5:1 | |
| Label on accent | 7.00:1 | AAA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 6.75:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.41:1 | AAA pass 4.5:1 | |
| Text on surface | 16.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.74:1 | AA pass 4.5:1 | |
| Label on primary | 9.38:1 | AAA pass 4.5:1 | |
| Label on accent | 15.83:1 | AAA pass 4.5:1 | |
| Primary on background | 9.38:1 | AAA pass 3:1 | |
| Accent on background | 15.83: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 | #B7B7A4 (Text 1) | #C8C8B5 (Text 2) | #D9D9C6 (Text 3) | #EAEAE7 (Text 4) | #FBFBF8 (Text 5) |
|---|---|---|---|---|---|
| #B7B7A4 | Same color | 1.20— | 1.42— | 1.69— | 1.96— |
| #C8C8B5 | 1.20— | Same color | 1.19— | 1.41— | 1.64— |
| #D9D9C6 | 1.42— | 1.19— | Same color | 1.19— | 1.38— |
| #EAEAE7 | 1.69— | 1.41— | 1.19— | Same color | 1.16— |
| #FBFBF8 | 1.96— | 1.64— | 1.38— | 1.16— | Same color |
Shades
Shades and tints (50–950)
