PreviewingGo to this paletteOpen in generator
Code
/* Buff Suede — colorset.net */
:root {
--color-1: #D9B382;
--color-2: #E3C39B;
--color-3: #EDD3B5;
--color-4: #F0DC82;
--color-5: #F5DEB3;
--color-bg: #FDF6E9;
--color-surface: #F4EDE0;
--color-border: #DCD4C4;
--color-text: #694817;
--color-muted: #7A6852;
--color-primary: #88740B;
--color-on-primary: #FFFFFF;
--color-accent: #9D8569;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170D02;
--color-surface: #221708;
--color-border: #392B19;
--color-text: #F1DFBC;
--color-muted: #8F8168;
--color-primary: #F0DC82;
--color-on-primary: #170D02;
--color-accent: #D9B382;
--color-on-accent: #170D02;
}
}
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 #F5DEB3 | adjusted for contrast · from #D9B382 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D9B382 | adjusted for contrast · from #F5DEB3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D9B382 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D9B382 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.69:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.99:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.63:1 | AAA pass 4.5:1 | |
| Text on surface | 13.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 13.94:1 | AAA pass 4.5:1 | |
| Label on accent | 9.79:1 | AAA pass 4.5:1 | |
| Primary on background | 13.94:1 | AAA pass 3:1 | |
| Accent on background | 9.79: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 | #D9B382 (Text 1) | #E3C39B (Text 2) | #EDD3B5 (Text 3) | #F0DC82 (Text 4) | #F5DEB3 (Text 5) |
|---|---|---|---|---|---|
| #D9B382 | Same color | 1.17— | 1.36— | 1.42— | 1.49— |
| #E3C39B | 1.17— | Same color | 1.16— | 1.22— | 1.27— |
| #EDD3B5 | 1.36— | 1.16— | Same color | 1.05— | 1.10— |
| #F0DC82 | 1.42— | 1.22— | 1.05— | Same color | 1.05— |
| #F5DEB3 | 1.49— | 1.27— | 1.10— | 1.05— | Same color |
Shades
Shades and tints (50–950)
