PreviewingGo to this paletteOpen in generator
Code
/* Driftwood Beige — colorset.net */
:root {
--color-1: #AF9B8C;
--color-2: #BBA99C;
--color-3: #C7B7AC;
--color-4: #D3C5BC;
--color-5: #DFD3CC;
--color-bg: #FAF6F4;
--color-surface: #F0EDEA;
--color-border: #DAD3CF;
--color-text: #5B4A3D;
--color-muted: #796658;
--color-primary: #968374;
--color-on-primary: #000000;
--color-accent: #625347;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140E0A;
--color-surface: #1E1814;
--color-border: #352C25;
--color-text: #DFD3CC;
--color-muted: #8B807A;
--color-primary: #AF9B8C;
--color-on-primary: #140E0A;
--color-accent: #C7B7AC;
--color-on-accent: #140E0A;
}
}
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 #DFD3CC | adjusted for contrast · from #AF9B8C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #AF9B8C | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #AF9B8C | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #AF9B8C | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.85:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 5.80:1 | AA pass 4.5:1 | |
| Label on accent | 7.37:1 | AAA pass 4.5:1 | |
| Primary on background | 3.37:1 | AA Large pass 3:1 | |
| Accent on background | 6.87:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.06:1 | AAA pass 4.5:1 | |
| Text on surface | 11.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 7.19:1 | AAA pass 4.5:1 | |
| Label on accent | 9.84:1 | AAA pass 4.5:1 | |
| Primary on background | 7.19:1 | AAA pass 3:1 | |
| Accent on background | 9.84: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 | #AF9B8C (Text 1) | #BBA99C (Text 2) | #C7B7AC (Text 3) | #D3C5BC (Text 4) | #DFD3CC (Text 5) |
|---|---|---|---|---|---|
| #AF9B8C | Same color | 1.17— | 1.37— | 1.58— | 1.82— |
| #BBA99C | 1.17— | Same color | 1.17— | 1.35— | 1.55— |
| #C7B7AC | 1.37— | 1.17— | Same color | 1.16— | 1.33— |
| #D3C5BC | 1.58— | 1.35— | 1.16— | Same color | 1.15— |
| #DFD3CC | 1.82— | 1.55— | 1.33— | 1.15— | Same color |
Shades
Shades and tints (50–950)
