PreviewingGo to this paletteOpen in generator
Code
/* Warm Brown — colorset.net */
:root {
--color-1: #8B4513;
--color-2: #DAA520;
--color-3: #FFD700;
--color-4: #FF8C00;
--color-5: #DC143C;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #76401C;
--color-muted: #7F6557;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #8C7500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #FFD700;
--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 | adjusted for contrast · from #FFD700 | adjusted for contrast · from #8B4513 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B4513 | adjusted for contrast · from #FFD700 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8B4513 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 4.65:1 | AA pass 3:1 | |
| Accent on background | 4.20:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.74:1 | AAA pass 4.5:1 | |
| Text on surface | 12.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 13.72:1 | AAA pass 4.5:1 | |
| Primary on background | 3.86:1 | AA Large pass 3:1 | |
| Accent on background | 13.72: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) | #DAA520 (Text 2) | #FFD700 (Text 3) | #FF8C00 (Text 4) | #DC143C (Text 5) |
|---|---|---|---|---|---|
| #8B4513 | Same color | 3.17AA Large | 5.06AA | 3.04AA Large | 1.42— |
| #DAA520 | 3.17AA Large | Same color | 1.60— | 1.04— | 2.23— |
| #FFD700 | 5.06AA | 1.60— | Same color | 1.66— | 3.56AA Large |
| #FF8C00 | 3.04AA Large | 1.04— | 1.66— | Same color | 2.14— |
| #DC143C | 1.42— | 2.23— | 3.56AA Large | 2.14— | Same color |
Shades
Shades and tints (50–950)
