PreviewingGo to this paletteOpen in generator
Code
/* Weathered Driftwood — colorset.net */
:root {
--color-1: #A89D8F;
--color-2: #BAB1A3;
--color-3: #CCC5B7;
--color-4: #DED9CB;
--color-5: #F0EDDF;
--color-bg: #F0EDDF;
--color-surface: #F6F4EC;
--color-border: #D8D4C3;
--color-text: #554C3F;
--color-muted: #72675A;
--color-primary: #8F8577;
--color-on-primary: #000000;
--color-accent: #5C5449;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120F0B;
--color-surface: #1C1915;
--color-border: #322D26;
--color-text: #F0EDDF;
--color-muted: #89867A;
--color-primary: #A89D8F;
--color-on-primary: #120F0B;
--color-accent: #DED9CB;
--color-on-accent: #120F0B;
}
}
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 #A89D8F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A89D8F | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A89D8F | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A89D8F | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.18:1 | AAA pass 4.5:1 | |
| Text on surface | 7.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.70:1 | AA pass 4.5:1 | |
| Label on primary | 5.79:1 | AA pass 4.5:1 | |
| Label on accent | 7.45:1 | AAA pass 4.5:1 | |
| Primary on background | 3.09:1 | AA Large pass 3:1 | |
| Accent on background | 6.34:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.27:1 | AAA pass 4.5:1 | |
| Text on surface | 14.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 7.17:1 | AAA pass 4.5:1 | |
| Label on accent | 13.55:1 | AAA pass 4.5:1 | |
| Primary on background | 7.17:1 | AAA pass 3:1 | |
| Accent on background | 13.55: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 | #A89D8F (Text 1) | #BAB1A3 (Text 2) | #CCC5B7 (Text 3) | #DED9CB (Text 4) | #F0EDDF (Text 5) |
|---|---|---|---|---|---|
| #A89D8F | Same color | 1.26— | 1.55— | 1.89— | 2.27— |
| #BAB1A3 | 1.26— | Same color | 1.24— | 1.50— | 1.81— |
| #CCC5B7 | 1.55— | 1.24— | Same color | 1.22— | 1.46— |
| #DED9CB | 1.89— | 1.50— | 1.22— | Same color | 1.20— |
| #F0EDDF | 2.27— | 1.81— | 1.46— | 1.20— | Same color |
Shades
Shades and tints (50–950)
