Amber Color Palette
Amber Color Palette built around #FFBF00, a light warm yellow anchor (WCAG contrast 1.65:1 against white). The set combines a light tint + a deep shade + a softened complement + a neutral ground so any palette position has a text-safe pairing.
Semantic roles
Assigned deterministically: lightest = background, darkest = text, most saturated = primary.
| background | #FFE6A1 | |
| surface | #FFBF00 | |
| text | #395DC6 | |
| text-muted | #845E00 | |
| primary | #FFBF00 | |
| secondary | #845E00 | |
| accent | #DDA60D |
CSS variables
:root {
--background: #ffe6a1;
--surface: #ffbf00;
--text: #395dc6;
--text-muted: #845e00;
--primary: #ffbf00;
--secondary: #845e00;
--accent: #dda60d;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #FFBF00 | #FFE6A1 | #845E00 | #395DC6 | #DDA60D |
|---|---|---|---|---|---|
| #FFBF00 | 1.0 | 1.3 | 3.5 | 3.6 | 1.3 |
| #FFE6A1 | 1.3 | 1.0 | 4.8 | 4.8 | 1.8 |
| #845E00 | 3.5 | 4.8 | 1.0 | 1.0 | 2.7 |
| #395DC6 | 3.6 | 4.8 | 1.0 | 1.0 | 2.7 |
| #DDA60D | 1.3 | 1.8 | 2.7 | 2.7 | 1.0 |
Under deuteranopia
Machado et al. (2009) simulation, severity 1.0 — approximation, not a medical tool.
Colors in this palette
Similar palettes
FAQ
How do I use the amber color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #FFBF00, #FFE6A1, #845E00, #395DC6, #DDA60D.
Do these colors pass accessibility checks?
See the WCAG matrix on this page: every text-on-background pairing with ratio ≥ 4.5 passes AA for normal text; ≥ 3 passes AA for large text and UI components.