PreviewingGo to this paletteOpen in generator
Code
/* Amber Field — colorset.net */
:root {
--color-1: #FBF3E1;
--color-2: #D98A1E;
--color-3: #6C4A8C;
--color-4: #EFD6A8;
--color-5: #2A2219;
--color-bg: #FBF3E1;
--color-surface: #FFFBF0;
--color-border: #E4DAC5;
--color-text: #2A2219;
--color-muted: #786E64;
--color-primary: #C77B00;
--color-on-primary: #2A2219;
--color-accent: #6C4A8C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2A2219;
--color-surface: #352D24;
--color-border: #4D4236;
--color-text: #FBF3E1;
--color-muted: #9F9787;
--color-primary: #D98A1E;
--color-on-primary: #2A2219;
--color-accent: #8C6AAF;
--color-on-accent: #000000;
}
}
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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D98A1E | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #6C4A8C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.17:1 | AAA pass 4.5:1 | |
| Text on surface | 15.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.51:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 7.01:1 | AAA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 6.35:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.17:1 | AAA pass 4.5:1 | |
| Text on surface | 12.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.41:1 | AA pass 4.5:1 | |
| Label on primary | 5.67:1 | AA pass 4.5:1 | |
| Label on accent | 4.80:1 | AA pass 4.5:1 | |
| Primary on background | 5.67:1 | AA pass 3:1 | |
| Accent on background | 3.58:1 | AA Large 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 | #FBF3E1 (Text 1) | #D98A1E (Text 2) | #6C4A8C (Text 3) | #EFD6A8 (Text 4) | #2A2219 (Text 5) |
|---|---|---|---|---|---|
| #FBF3E1 | Same color | 2.50— | 6.35AA | 1.28— | 14.17AAA |
| #D98A1E | 2.50— | Same color | 2.54— | 1.95— | 5.67AA |
| #6C4A8C | 6.35AA | 2.54— | Same color | 4.96AA | 2.23— |
| #EFD6A8 | 1.28— | 1.95— | 4.96AA | Same color | 11.07AAA |
| #2A2219 | 14.17AAA | 5.67AA | 2.23— | 11.07AAA | Same color |
Shades
Shades and tints (50–950)
