PreviewingGo to this paletteOpen in generator
Code
/* Sable Brown — colorset.net */
:root {
--color-1: #2C1810;
--color-2: #3E2723;
--color-3: #4E342E;
--color-4: #5D4037;
--color-5: #6D4C41;
--color-bg: #FFF4F1;
--color-surface: #F7EAE6;
--color-border: #E1D1CC;
--color-text: #2C1810;
--color-muted: #7D645A;
--color-primary: #6D4C41;
--color-on-primary: #FFFFFF;
--color-accent: #3E2723;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2C1810;
--color-surface: #38231A;
--color-border: #50372D;
--color-text: #D4ADA1;
--color-muted: #A98B80;
--color-primary: #8E6B5F;
--color-on-primary: #FFFFFF;
--color-accent: #C09F94;
--color-on-accent: #2C1810;
}
}
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 #6D4C41 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #6D4C41 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #6D4C41 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #6D4C41 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.63:1 | AAA pass 4.5:1 | |
| Text on surface | 14.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 7.61:1 | AAA pass 4.5:1 | |
| Label on accent | 13.82:1 | AAA pass 4.5:1 | |
| Primary on background | 7.05:1 | AAA pass 3:1 | |
| Accent on background | 12.81:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.26:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 4.75:1 | AA pass 4.5:1 | |
| Label on accent | 6.93:1 | AA pass 4.5:1 | |
| Primary on background | 3.55:1 | AA Large pass 3:1 | |
| Accent on background | 6.93: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 | #2C1810 (Text 1) | #3E2723 (Text 2) | #4E342E (Text 3) | #5D4037 (Text 4) | #6D4C41 (Text 5) |
|---|---|---|---|---|---|
| #2C1810 | Same color | 1.22— | 1.49— | 1.81— | 2.22— |
| #3E2723 | 1.22— | Same color | 1.22— | 1.48— | 1.82— |
| #4E342E | 1.49— | 1.22— | Same color | 1.22— | 1.49— |
| #5D4037 | 1.81— | 1.48— | 1.22— | Same color | 1.22— |
| #6D4C41 | 2.22— | 1.82— | 1.49— | 1.22— | Same color |
Shades
Shades and tints (50–950)
