PreviewingGo to this paletteOpen in generator
Code
/* Caramel Drizzle Dark — colorset.net */
:root {
--color-1: #F7EDDC;
--color-2: #B16F23;
--color-3: #78431B;
--color-4: #45240F;
--color-5: #EDA9A8;
--color-bg: #F7EDDC;
--color-surface: #FBF5EB;
--color-border: #E0D4C0;
--color-text: #45240F;
--color-muted: #806658;
--color-primary: #A76616;
--color-on-primary: #FFFFFF;
--color-accent: #B87878;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180C06;
--color-surface: #22160F;
--color-border: #3A2A21;
--color-text: #F7EDDC;
--color-muted: #8F8676;
--color-primary: #A76616;
--color-on-primary: #FFFFFF;
--color-accent: #EDA9A8;
--color-on-accent: #180C06;
}
}
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 1 | adjusted for contrast · from #45240F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 4 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B16F23 | adjusted for contrast · from #B16F23 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B16F23 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.97:1 | AAA pass 4.5:1 | |
| Text on surface | 12.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.57:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 3.97:1 | AA Large pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.55:1 | AAA pass 4.5:1 | |
| Text on surface | 15.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.34:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 9.91:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 9.91: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 | #F7EDDC (Text 1) | #B16F23 (Text 2) | #78431B (Text 3) | #45240F (Text 4) | #EDA9A8 (Text 5) |
|---|---|---|---|---|---|
| #F7EDDC | Same color | 3.50AA Large | 6.92AA | 11.97AAA | 1.67— |
| #B16F23 | 3.50AA Large | Same color | 1.97— | 3.42AA Large | 2.10— |
| #78431B | 6.92AA | 1.97— | Same color | 1.73— | 4.14AA Large |
| #45240F | 11.97AAA | 3.42AA Large | 1.73— | Same color | 7.17AAA |
| #EDA9A8 | 1.67— | 2.10— | 4.14AA Large | 7.17AAA | Same color |
Shades
Shades and tints (50–950)
