PreviewingGo to this paletteOpen in generator
Code
/* Rust Sunrise — colorset.net */
:root {
--color-1: #B7410E;
--color-2: #D2691E;
--color-3: #ED8A2E;
--color-4: #FFAB3E;
--color-5: #FFCC4E;
--color-bg: #FDF6E8;
--color-surface: #F3EDDF;
--color-border: #DCD4C3;
--color-text: #7A3E29;
--color-muted: #81655B;
--color-primary: #B7410E;
--color-on-primary: #FFFFFF;
--color-accent: #957100;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0904;
--color-surface: #27140D;
--color-border: #3F271E;
--color-text: #E2D2AF;
--color-muted: #8C8067;
--color-primary: #B7410E;
--color-on-primary: #FFFFFF;
--color-accent: #FFCC4E;
--color-on-accent: #1C0904;
}
}
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 #FFCC4E | adjusted for contrast · from #B7410E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B7410E | adjusted for contrast · from #FFCC4E |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D2691E | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.56:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 5.17:1 | AA pass 3:1 | |
| Accent on background | 4.21:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.91:1 | AAA pass 4.5:1 | |
| Text on surface | 11.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.56:1 | AA pass 4.5:1 | |
| Label on accent | 12.84:1 | AAA pass 4.5:1 | |
| Primary on background | 3.46:1 | AA Large pass 3:1 | |
| Accent on background | 12.84: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 | #B7410E (Text 1) | #D2691E (Text 2) | #ED8A2E (Text 3) | #FFAB3E (Text 4) | #FFCC4E (Text 5) |
|---|---|---|---|---|---|
| #B7410E | Same color | 1.53— | 2.19— | 2.95— | 3.71AA Large |
| #D2691E | 1.53— | Same color | 1.43— | 1.93— | 2.42— |
| #ED8A2E | 2.19— | 1.43— | Same color | 1.35— | 1.69— |
| #FFAB3E | 2.95— | 1.93— | 1.35— | Same color | 1.26— |
| #FFCC4E | 3.71AA Large | 2.42— | 1.69— | 1.26— | Same color |
Shades
Shades and tints (50–950)
