Gold Color Palette
Gold Color Palette built around #FFD700, a light warm yellow anchor (WCAG contrast 1.4: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 | #FFEFA2 | |
| surface | #FFD700 | |
| text | #394FC6 | |
| text-muted | #816B00 | |
| primary | #FFD700 | |
| secondary | #816B00 | |
| accent | #DDBA0F |
CSS variables
:root {
--background: #ffefa2;
--surface: #ffd700;
--text: #394fc6;
--text-muted: #816b00;
--primary: #ffd700;
--secondary: #816b00;
--accent: #ddba0f;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #FFD700 | #FFEFA2 | #816B00 | #394FC6 | #DDBA0F |
|---|---|---|---|---|---|
| #FFD700 | 1.0 | 1.2 | 3.7 | 4.8 | 1.4 |
| #FFEFA2 | 1.2 | 1.0 | 4.5 | 5.8 | 1.6 |
| #816B00 | 3.7 | 4.5 | 1.0 | 1.3 | 2.8 |
| #394FC6 | 4.8 | 5.8 | 1.3 | 1.0 | 3.6 |
| #DDBA0F | 1.4 | 1.6 | 2.8 | 3.6 | 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 gold color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #FFD700, #FFEFA2, #816B00, #394FC6, #DDBA0F.
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.