PreviewingGo to this paletteOpen in generator
Code
/* Latte Brown — colorset.net */
:root {
--color-1: #A67B5B;
--color-2: #B8926C;
--color-3: #C8A882;
--color-4: #D9BF99;
--color-5: #E8D4B8;
--color-bg: #FCF6ED;
--color-surface: #F3ECE4;
--color-border: #DCD4C8;
--color-text: #6C4526;
--color-muted: #7D6655;
--color-primary: #A67B5B;
--color-on-primary: #000000;
--color-accent: #6E4C33;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190C04;
--color-surface: #23160C;
--color-border: #3B2A1D;
--color-text: #E8D4B8;
--color-muted: #928169;
--color-primary: #A67B5B;
--color-on-primary: #190C04;
--color-accent: #D9BF99;
--color-on-accent: #190C04;
}
}
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 #E8D4B8 | adjusted for contrast · from #A67B5B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A67B5B | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A67B5B | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.61:1 | AA pass 4.5:1 | |
| Label on accent | 7.65:1 | AAA pass 4.5:1 | |
| Primary on background | 3.49:1 | AA Large pass 3:1 | |
| Accent on background | 7.12:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.27:1 | AAA pass 4.5:1 | |
| Text on surface | 12.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.12:1 | AA pass 4.5:1 | |
| Label on accent | 10.83:1 | AAA pass 4.5:1 | |
| Primary on background | 5.12:1 | AA pass 3:1 | |
| Accent on background | 10.83: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 | #A67B5B (Text 1) | #B8926C (Text 2) | #C8A882 (Text 3) | #D9BF99 (Text 4) | #E8D4B8 (Text 5) |
|---|---|---|---|---|---|
| #A67B5B | Same color | 1.31— | 1.67— | 2.12— | 2.59— |
| #B8926C | 1.31— | Same color | 1.27— | 1.61— | 1.97— |
| #C8A882 | 1.67— | 1.27— | Same color | 1.26— | 1.55— |
| #D9BF99 | 2.12— | 1.61— | 1.26— | Same color | 1.23— |
| #E8D4B8 | 2.59— | 1.97— | 1.55— | 1.23— | Same color |
Shades
Shades and tints (50–950)
