PreviewingGo to this paletteOpen in generator
Code
/* Rust Brown — colorset.net */
:root {
--color-1: #A0522D;
--color-2: #CD853F;
--color-3: #D2691E;
--color-4: #F4A460;
--color-5: #87CEEB;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E2;
--color-text: #7A3F24;
--color-muted: #81665A;
--color-primary: #BC5800;
--color-on-primary: #FFFFFF;
--color-accent: #4B92AD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0A04;
--color-surface: #27140B;
--color-border: #3F271D;
--color-text: #A1CADB;
--color-muted: #688794;
--color-primary: #BC5800;
--color-on-primary: #FFFFFF;
--color-accent: #F4A460;
--color-on-accent: #1C0A04;
}
}
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 #87CEEB | adjusted for contrast · from #A0522D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A0522D | adjusted for contrast · from #87CEEB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D2691E | adjusted for contrast · from #D2691E |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #87CEEB | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.95:1 | AAA pass 4.5:1 | |
| Text on surface | 10.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 9.43:1 | AAA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 9.43: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 | #A0522D (Text 1) | #CD853F (Text 2) | #D2691E (Text 3) | #F4A460 (Text 4) | #87CEEB (Text 5) |
|---|---|---|---|---|---|
| #A0522D | Same color | 1.88— | 1.55— | 2.76— | 3.22AA Large |
| #CD853F | 1.88— | Same color | 1.22— | 1.47— | 1.72— |
| #D2691E | 1.55— | 1.22— | Same color | 1.79— | 2.09— |
| #F4A460 | 2.76— | 1.47— | 1.79— | Same color | 1.17— |
| #87CEEB | 3.22AA Large | 1.72— | 2.09— | 1.17— | Same color |
Shades
Shades and tints (50–950)
