PreviewingGo to this paletteOpen in generator
Code
/* Caramel Latte — colorset.net */
:root {
--color-1: #A67C52;
--color-2: #C19A6B;
--color-3: #D2B48C;
--color-4: #E8C9A0;
--color-5: #F4DDB8;
--color-bg: #FDF6EB;
--color-surface: #F3EDE2;
--color-border: #DCD4C6;
--color-text: #6C461B;
--color-muted: #7C6753;
--color-primary: #A67C52;
--color-on-primary: #000000;
--color-accent: #6E4D2B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190C02;
--color-surface: #231609;
--color-border: #3A2A1A;
--color-text: #F2DDBC;
--color-muted: #8F8068;
--color-primary: #A67C52;
--color-on-primary: #190C02;
--color-accent: #E8C9A0;
--color-on-accent: #190C02;
}
}
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 #F4DDB8 | adjusted for contrast · from #A67C52 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A67C52 | adjusted for contrast · from #F4DDB8 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A67C52 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 5.63:1 | AA pass 4.5:1 | |
| Label on accent | 7.61:1 | AAA pass 4.5:1 | |
| Primary on background | 3.48:1 | AA Large pass 3:1 | |
| Accent on background | 7.09:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.47:1 | AAA pass 4.5:1 | |
| Text on surface | 13.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.14:1 | AA pass 4.5:1 | |
| Label on accent | 12.14:1 | AAA pass 4.5:1 | |
| Primary on background | 5.14:1 | AA pass 3:1 | |
| Accent on background | 12.14: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 | #A67C52 (Text 1) | #C19A6B (Text 2) | #D2B48C (Text 3) | #E8C9A0 (Text 4) | #F4DDB8 (Text 5) |
|---|---|---|---|---|---|
| #A67C52 | Same color | 1.44— | 1.89— | 2.36— | 2.82— |
| #C19A6B | 1.44— | Same color | 1.31— | 1.64— | 1.96— |
| #D2B48C | 1.89— | 1.31— | Same color | 1.25— | 1.49— |
| #E8C9A0 | 2.36— | 1.64— | 1.25— | Same color | 1.19— |
| #F4DDB8 | 2.82— | 1.96— | 1.49— | 1.19— | Same color |
Shades
Shades and tints (50–950)
