PreviewingGo to this paletteOpen in generator
Code
/* Autumn Amber — colorset.net */
:root {
--color-1: #92400E;
--color-2: #B45309;
--color-3: #D97706;
--color-4: #F59E0B;
--color-5: #FBBF24;
--color-bg: #FDF6E8;
--color-surface: #F4EDDF;
--color-border: #DDD4C3;
--color-text: #783F22;
--color-muted: #806559;
--color-primary: #B45309;
--color-on-primary: #FFFFFF;
--color-accent: #967000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0A03;
--color-surface: #27140B;
--color-border: #3F271C;
--color-text: #D9C8A5;
--color-muted: #8D8167;
--color-primary: #B45309;
--color-on-primary: #FFFFFF;
--color-accent: #FBBF24;
--color-on-accent: #1C0A03;
}
}
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 #FBBF24 | adjusted for contrast · from #92400E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #92400E | adjusted for contrast · from #FBBF24 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B45309 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.02:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 4.67:1 | AA pass 3:1 | |
| Accent on background | 4.23:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.66:1 | AAA pass 4.5:1 | |
| Text on surface | 10.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.02:1 | AA pass 4.5:1 | |
| Label on accent | 11.50:1 | AAA pass 4.5:1 | |
| Primary on background | 3.82:1 | AA Large pass 3:1 | |
| Accent on background | 11.50: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 | #92400E (Text 1) | #B45309 (Text 2) | #D97706 (Text 3) | #F59E0B (Text 4) | #FBBF24 (Text 5) |
|---|---|---|---|---|---|
| #92400E | Same color | 1.41— | 2.23— | 3.30AA Large | 4.25AA Large |
| #B45309 | 1.41— | Same color | 1.58— | 2.34— | 3.01AA Large |
| #D97706 | 2.23— | 1.58— | Same color | 1.48— | 1.91— |
| #F59E0B | 3.30AA Large | 2.34— | 1.48— | Same color | 1.29— |
| #FBBF24 | 4.25AA Large | 3.01AA Large | 1.91— | 1.29— | Same color |
Shades
Shades and tints (50–950)
