PreviewingGo to this paletteOpen in generator
Code
/* Almond Shell — colorset.net */
:root {
--color-1: #D4C4B0;
--color-2: #DDD1BF;
--color-3: #E6DDCE;
--color-4: #EFE8DC;
--color-5: #F5F0E8;
--color-bg: #F5F0E8;
--color-surface: #FBF8F3;
--color-border: #DED7CC;
--color-text: #5A4D3B;
--color-muted: #786957;
--color-primary: #958673;
--color-on-primary: #000000;
--color-accent: #615546;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F09;
--color-surface: #1D1913;
--color-border: #332D24;
--color-text: #F5F0E8;
--color-muted: #8C8780;
--color-primary: #D4C4B0;
--color-on-primary: #130F09;
--color-accent: #E6DDCE;
--color-on-accent: #130F09;
}
}
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 #D4C4B0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D4C4B0 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D4C4B0 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D4C4B0 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.23:1 | AAA pass 4.5:1 | |
| Text on surface | 7.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.68:1 | AA pass 4.5:1 | |
| Label on primary | 5.94:1 | AA pass 4.5:1 | |
| Label on accent | 7.25:1 | AAA pass 4.5:1 | |
| Primary on background | 3.12:1 | AA Large pass 3:1 | |
| Accent on background | 6.39:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.83:1 | AAA pass 4.5:1 | |
| Text on surface | 15.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.36:1 | AA pass 4.5:1 | |
| Label on primary | 11.20:1 | AAA pass 4.5:1 | |
| Label on accent | 14.18:1 | AAA pass 4.5:1 | |
| Primary on background | 11.20:1 | AAA pass 3:1 | |
| Accent on background | 14.18: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 | #D4C4B0 (Text 1) | #DDD1BF (Text 2) | #E6DDCE (Text 3) | #EFE8DC (Text 4) | #F5F0E8 (Text 5) |
|---|---|---|---|---|---|
| #D4C4B0 | Same color | 1.13— | 1.27— | 1.40— | 1.50— |
| #DDD1BF | 1.13— | Same color | 1.12— | 1.24— | 1.33— |
| #E6DDCE | 1.27— | 1.12— | Same color | 1.11— | 1.19— |
| #EFE8DC | 1.40— | 1.24— | 1.11— | Same color | 1.07— |
| #F5F0E8 | 1.50— | 1.33— | 1.19— | 1.07— | Same color |
Shades
Shades and tints (50–950)
