PreviewingGo to this paletteOpen in generator
Code
/* Milk Chocolate — colorset.net */
:root {
--color-1: #3B2414;
--color-2: #5C3D2E;
--color-3: #7B4B3A;
--color-4: #8B5A3C;
--color-5: #A0694F;
--color-bg: #FFF4EF;
--color-surface: #FAEAE3;
--color-border: #E4D0C7;
--color-text: #3B2414;
--color-muted: #7D6555;
--color-primary: #A0694F;
--color-on-primary: #FFFFFF;
--color-accent: #5C3D2E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150D08;
--color-surface: #201712;
--color-border: #372B23;
--color-text: #C19C8C;
--color-muted: #997C70;
--color-primary: #A0694F;
--color-on-primary: #FFFFFF;
--color-accent: #7C6150;
--color-on-accent: #FFFFFF;
}
}
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 #A0694F | adjusted for contrast · from #3B2414 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #A0694F |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #8B5A3C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.42:1 | AAA pass 4.5:1 | |
| Text on surface | 12.39:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 9.71:1 | AAA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 8.99:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.69:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 5.70:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 3.37:1 | AA Large 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 | #3B2414 (Text 1) | #5C3D2E (Text 2) | #7B4B3A (Text 3) | #8B5A3C (Text 4) | #A0694F (Text 5) |
|---|---|---|---|---|---|
| #3B2414 | Same color | 1.49— | 2.01— | 2.50— | 3.20AA Large |
| #5C3D2E | 1.49— | Same color | 1.35— | 1.68— | 2.14— |
| #7B4B3A | 2.01— | 1.35— | Same color | 1.25— | 1.59— |
| #8B5A3C | 2.50— | 1.68— | 1.25— | Same color | 1.28— |
| #A0694F | 3.20AA Large | 2.14— | 1.59— | 1.28— | Same color |
Shades
Shades and tints (50–950)
