PreviewingGo to this paletteOpen in generator
Code
/* Sable Dark — colorset.net */
:root {
--color-1: #1A0E08;
--color-2: #2C1810;
--color-3: #3E2218;
--color-4: #502C20;
--color-5: #623628;
--color-bg: #FFF4F1;
--color-surface: #FAE9E4;
--color-border: #E4D0C9;
--color-text: #1A0E08;
--color-muted: #73635B;
--color-primary: #623628;
--color-on-primary: #FFFFFF;
--color-accent: #2C1810;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0E08;
--color-surface: #251812;
--color-border: #3C2C23;
--color-text: #C69F92;
--color-muted: #9A7C72;
--color-primary: #8C5D4D;
--color-on-primary: #FFFFFF;
--color-accent: #BD9183;
--color-on-accent: #1A0E08;
}
}
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 #623628 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #623628 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #623628 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #623628 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.53:1 | AAA pass 4.5:1 | |
| Text on surface | 16.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.31:1 | AA pass 4.5:1 | |
| Label on primary | 10.11:1 | AAA pass 4.5:1 | |
| Label on accent | 16.86:1 | AAA pass 4.5:1 | |
| Primary on background | 9.37:1 | AAA pass 3:1 | |
| Accent on background | 15.63:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.54:1 | AA pass 4.5:1 | |
| Label on accent | 6.79:1 | AA pass 4.5:1 | |
| Primary on background | 3.41:1 | AA Large pass 3:1 | |
| Accent on background | 6.79:1 | AA 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 | #1A0E08 (Text 1) | #2C1810 (Text 2) | #3E2218 (Text 3) | #502C20 (Text 4) | #623628 (Text 5) |
|---|---|---|---|---|---|
| #1A0E08 | Same color | 1.12— | 1.30— | 1.55— | 1.87— |
| #2C1810 | 1.12— | Same color | 1.16— | 1.38— | 1.67— |
| #3E2218 | 1.30— | 1.16— | Same color | 1.19— | 1.44— |
| #502C20 | 1.55— | 1.38— | 1.19— | Same color | 1.21— |
| #623628 | 1.87— | 1.67— | 1.44— | 1.21— | Same color |
Shades
Shades and tints (50–950)
