PreviewingGo to this paletteOpen in generator
Code
/* Caramel Brown — colorset.net */
:root {
--color-1: #8B4513;
--color-2: #A0522D;
--color-3: #D2B48C;
--color-4: #F4A460;
--color-5: #FFEFD5;
--color-bg: #FFEFD5;
--color-surface: #FFF7EB;
--color-border: #E7D6BB;
--color-text: #79421F;
--color-muted: #826859;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #A2865F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #FFEFD5;
--color-muted: #95866F;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #D2B48C;
--color-on-accent: #1B0A03;
}
}
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 5 | adjusted for contrast · from #8B4513 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B4513 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A0522D | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.11:1 | AAA pass 4.5:1 | |
| Text on surface | 7.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.56:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 6.11:1 | AA pass 4.5:1 | |
| Primary on background | 4.96:1 | AA pass 3:1 | |
| Accent on background | 3.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.01:1 | AAA pass 4.5:1 | |
| Text on surface | 15.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.42:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 9.76:1 | AAA pass 4.5:1 | |
| Primary on background | 3.43:1 | AA Large pass 3:1 | |
| Accent on background | 9.76: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 | #8B4513 (Text 1) | #A0522D (Text 2) | #D2B48C (Text 3) | #F4A460 (Text 4) | #FFEFD5 (Text 5) |
|---|---|---|---|---|---|
| #8B4513 | Same color | 1.26— | 3.60AA Large | 3.49AA Large | 6.27AA |
| #A0522D | 1.26— | Same color | 2.85— | 2.76— | 4.96AA |
| #D2B48C | 3.60AA Large | 2.85— | Same color | 1.03— | 1.74— |
| #F4A460 | 3.49AA Large | 2.76— | 1.03— | Same color | 1.80— |
| #FFEFD5 | 6.27AA | 4.96AA | 1.74— | 1.80— | Same color |
Shades
Shades and tints (50–950)
