PreviewingGo to this paletteOpen in generator
Code
/* Driftwood Shore — colorset.net */
:root {
--color-1: #EEE9E0;
--color-2: #A89A88;
--color-3: #7A6A5A;
--color-4: #8FA3A0;
--color-5: #2E2A26;
--color-bg: #EEE9E0;
--color-surface: #F4F0EB;
--color-border: #D7D0C4;
--color-text: #2E2A26;
--color-muted: #6D6863;
--color-primary: #7A6A5A;
--color-on-primary: #FFFFFF;
--color-accent: #89847C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110F0E;
--color-surface: #1B1918;
--color-border: #312D29;
--color-text: #EEE9E0;
--color-muted: #88847C;
--color-primary: #7A6A5A;
--color-on-primary: #FFFFFF;
--color-accent: #8FA3A0;
--color-on-accent: #110F0E;
}
}
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 1 | adjusted for contrast · from #2E2A26 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A89A88 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.77:1 | AAA pass 4.5:1 | |
| Text on surface | 12.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.56:1 | AA pass 4.5:1 | |
| Label on primary | 5.20:1 | AA pass 4.5:1 | |
| Label on accent | 5.66:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.81:1 | AAA pass 4.5:1 | |
| Text on surface | 14.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 5.20:1 | AA pass 4.5:1 | |
| Label on accent | 7.20:1 | AAA pass 4.5:1 | |
| Primary on background | 3.67:1 | AA Large pass 3:1 | |
| Accent on background | 7.20: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 | #EEE9E0 (Text 1) | #A89A88 (Text 2) | #7A6A5A (Text 3) | #8FA3A0 (Text 4) | #2E2A26 (Text 5) |
|---|---|---|---|---|---|
| #EEE9E0 | Same color | 2.27— | 4.30AA Large | 2.19— | 11.77AAA |
| #A89A88 | 2.27— | Same color | 1.89— | 1.04— | 5.18AA |
| #7A6A5A | 4.30AA Large | 1.89— | Same color | 1.96— | 2.74— |
| #8FA3A0 | 2.19— | 1.04— | 1.96— | Same color | 5.36AA |
| #2E2A26 | 11.77AAA | 5.18AA | 2.74— | 5.36AA | Same color |
Shades
Shades and tints (50–950)
