PreviewingGo to this paletteOpen in generator
Code
/* Rust Earth — colorset.net */
:root {
--color-1: #6B2E11;
--color-2: #854520;
--color-3: #9F5C2F;
--color-4: #B9733E;
--color-5: #D38A4D;
--color-bg: #FFF5ED;
--color-surface: #F8EBE1;
--color-border: #E2D1C5;
--color-text: #693016;
--color-muted: #806559;
--color-primary: #A9642E;
--color-on-primary: #FFFFFF;
--color-accent: #854520;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0A04;
--color-surface: #27140C;
--color-border: #3F271D;
--color-text: #BFA088;
--color-muted: #977F6C;
--color-primary: #A9642E;
--color-on-primary: #FFFFFF;
--color-accent: #D38A4D;
--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 #D38A4D | adjusted for contrast · from #6B2E11 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6B2E11 | adjusted for contrast · from #D38A4D |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9F5C2F | adjusted for contrast · from #9F5C2F |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.60:1 | AAA pass 4.5:1 | |
| Text on surface | 8.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 7.32:1 | AAA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 6.81:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 6.86:1 | AA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 6.86:1 | AA 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 | #6B2E11 (Text 1) | #854520 (Text 2) | #9F5C2F (Text 3) | #B9733E (Text 4) | #D38A4D (Text 5) |
|---|---|---|---|---|---|
| #6B2E11 | Same color | 1.42— | 2.00— | 2.76— | 3.71AA Large |
| #854520 | 1.42— | Same color | 1.41— | 1.95— | 2.62— |
| #9F5C2F | 2.00— | 1.41— | Same color | 1.38— | 1.86— |
| #B9733E | 2.76— | 1.95— | 1.38— | Same color | 1.35— |
| #D38A4D | 3.71AA Large | 2.62— | 1.86— | 1.35— | Same color |
Shades
Shades and tints (50–950)
