PreviewingGo to this paletteOpen in generator
Code
/* Chocolate Caramel — colorset.net */
:root {
--color-1: #3D2817;
--color-2: #5C3C24;
--color-3: #7B5031;
--color-4: #9A643E;
--color-5: #B9784B;
--color-bg: #FFF4EE;
--color-surface: #F9EAE1;
--color-border: #E3D1C6;
--color-text: #3D2817;
--color-muted: #7E6756;
--color-primary: #A66639;
--color-on-primary: #FFFFFF;
--color-accent: #5C3C24;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E08;
--color-surface: #1F1812;
--color-border: #362B23;
--color-text: #BF9D88;
--color-muted: #977D6D;
--color-primary: #A66639;
--color-on-primary: #FFFFFF;
--color-accent: #7B6350;
--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 #B9784B | adjusted for contrast · from #3D2817 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #B9784B |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9A643E | adjusted for contrast · from #9A643E |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #7B5031 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.83:1 | AAA pass 4.5:1 | |
| Text on surface | 11.81:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 9.87:1 | AAA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 9.13:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.61:1 | AA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 3.41: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 | #3D2817 (Text 1) | #5C3C24 (Text 2) | #7B5031 (Text 3) | #9A643E (Text 4) | #B9784B (Text 5) |
|---|---|---|---|---|---|
| #3D2817 | Same color | 1.40— | 2.00— | 2.82— | 3.86AA Large |
| #5C3C24 | 1.40— | Same color | 1.43— | 2.01— | 2.75— |
| #7B5031 | 2.00— | 1.43— | Same color | 1.41— | 1.93— |
| #9A643E | 2.82— | 2.01— | 1.41— | Same color | 1.37— |
| #B9784B | 3.86AA Large | 2.75— | 1.93— | 1.37— | Same color |
Shades
Shades and tints (50–950)
