PreviewingGo to this paletteOpen in generator
Code
/* Almond Milk — colorset.net */
:root {
--color-1: #D9B99B;
--color-2: #E8CCAD;
--color-3: #F0DBBE;
--color-4: #F5E9D4;
--color-5: #FFF6EA;
--color-bg: #FFF6EA;
--color-surface: #F6EDE1;
--color-border: #DFD4C5;
--color-text: #64482D;
--color-muted: #7C6753;
--color-primary: #9F8165;
--color-on-primary: #000000;
--color-accent: #69513B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160D06;
--color-surface: #21170F;
--color-border: #372B1F;
--color-text: #FFF6EA;
--color-muted: #928A7F;
--color-primary: #D9B99B;
--color-on-primary: #160D06;
--color-accent: #F0DBBE;
--color-on-accent: #160D06;
}
}
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 #D9B99B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D9B99B | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D9B99B | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D9B99B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.80:1 | AA pass 4.5:1 | |
| Label on accent | 7.39:1 | AAA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 6.91:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.93:1 | AAA pass 4.5:1 | |
| Text on surface | 16.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.63:1 | AA pass 4.5:1 | |
| Label on primary | 10.38:1 | AAA pass 4.5:1 | |
| Label on accent | 14.24:1 | AAA pass 4.5:1 | |
| Primary on background | 10.38:1 | AAA pass 3:1 | |
| Accent on background | 14.24: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 | #D9B99B (Text 1) | #E8CCAD (Text 2) | #F0DBBE (Text 3) | #F5E9D4 (Text 4) | #FFF6EA (Text 5) |
|---|---|---|---|---|---|
| #D9B99B | Same color | 1.20— | 1.37— | 1.54— | 1.73— |
| #E8CCAD | 1.20— | Same color | 1.14— | 1.28— | 1.44— |
| #F0DBBE | 1.37— | 1.14— | Same color | 1.12— | 1.26— |
| #F5E9D4 | 1.54— | 1.28— | 1.12— | Same color | 1.12— |
| #FFF6EA | 1.73— | 1.44— | 1.26— | 1.12— | Same color |
Shades
Shades and tints (50–950)
