PreviewingGo to this paletteOpen in generator
Code
/* Latte Soft — colorset.net */
:root {
--color-1: #D9BF99;
--color-2: #E5CFAD;
--color-3: #F0DFC1;
--color-4: #F8ECD5;
--color-5: #FFF8E9;
--color-bg: #FFF8E9;
--color-surface: #F6EFE0;
--color-border: #DED6C4;
--color-text: #614B28;
--color-muted: #796952;
--color-primary: #9D8460;
--color-on-primary: #000000;
--color-accent: #675437;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E04;
--color-surface: #20180D;
--color-border: #362C1D;
--color-text: #FFF8E9;
--color-muted: #928C7E;
--color-primary: #D9BF99;
--color-on-primary: #150E04;
--color-accent: #F0DFC1;
--color-on-accent: #150E04;
}
}
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 #D9BF99 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D9BF99 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D9BF99 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D9BF99 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.90:1 | AA pass 4.5:1 | |
| Label on accent | 7.24:1 | AAA pass 4.5:1 | |
| Primary on background | 3.36:1 | AA Large pass 3:1 | |
| Accent on background | 6.85:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.11:1 | AAA pass 4.5:1 | |
| Text on surface | 16.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.72:1 | AA pass 4.5:1 | |
| Label on primary | 10.82:1 | AAA pass 4.5:1 | |
| Label on accent | 14.62:1 | AAA pass 4.5:1 | |
| Primary on background | 10.82:1 | AAA pass 3:1 | |
| Accent on background | 14.62: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 | #D9BF99 (Text 1) | #E5CFAD (Text 2) | #F0DFC1 (Text 3) | #F8ECD5 (Text 4) | #FFF8E9 (Text 5) |
|---|---|---|---|---|---|
| #D9BF99 | Same color | 1.17— | 1.35— | 1.51— | 1.67— |
| #E5CFAD | 1.17— | Same color | 1.16— | 1.30— | 1.43— |
| #F0DFC1 | 1.35— | 1.16— | Same color | 1.12— | 1.24— |
| #F8ECD5 | 1.51— | 1.30— | 1.12— | Same color | 1.11— |
| #FFF8E9 | 1.67— | 1.43— | 1.24— | 1.11— | Same color |
Shades
Shades and tints (50–950)
