PreviewingGo to this paletteOpen in generator
Code
/* Amber Spice — colorset.net */
:root {
--color-1: #AF6E4D;
--color-2: #C4825F;
--color-3: #D99571;
--color-4: #EEA883;
--color-5: #9A5A3B;
--color-bg: #FFF4EF;
--color-surface: #F9EAE2;
--color-border: #E3D0C7;
--color-text: #783F22;
--color-muted: #806559;
--color-primary: #A56544;
--color-on-primary: #FFFFFF;
--color-accent: #BA7956;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0A03;
--color-surface: #27140B;
--color-border: #3F271C;
--color-text: #D6B29F;
--color-muted: #987C6E;
--color-primary: #A56544;
--color-on-primary: #FFFFFF;
--color-accent: #D99571;
--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 #EEA883 | adjusted for contrast · from #9A5A3B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9A5A3B | adjusted for contrast · from #EEA883 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #AF6E4D | adjusted for contrast · from #AF6E4D |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C4825F | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.68:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.81:1 | AAA pass 4.5:1 | |
| Text on surface | 9.01: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.76:1 | AAA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large pass 3:1 | |
| Accent on background | 7.76: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 | #AF6E4D (Text 1) | #C4825F (Text 2) | #D99571 (Text 3) | #EEA883 (Text 4) | #9A5A3B (Text 5) |
|---|---|---|---|---|---|
| #AF6E4D | Same color | 1.30— | 1.64— | 2.05— | 1.32— |
| #C4825F | 1.30— | Same color | 1.27— | 1.58— | 1.72— |
| #D99571 | 1.64— | 1.27— | Same color | 1.24— | 2.18— |
| #EEA883 | 2.05— | 1.58— | 1.24— | Same color | 2.71— |
| #9A5A3B | 1.32— | 1.72— | 2.18— | 2.71— | Same color |
Shades
Shades and tints (50–950)
