Lemon Color Palette
Lemon Color Palette built around #FFF700, a light warm yellow anchor (WCAG contrast 1.13: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 | #FFFCA4 | |
| surface | #FFF700 | |
| text | #393EC6 | |
| text-muted | #7C7B00 | |
| primary | #FFF700 | |
| secondary | #7C7B00 | |
| accent | #DDD611 |
CSS variables
:root {
--background: #fffca4;
--surface: #fff700;
--text: #393ec6;
--text-muted: #7c7b00;
--primary: #fff700;
--secondary: #7c7b00;
--accent: #ddd611;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #FFF700 | #FFFCA4 | #7C7B00 | #393EC6 | #DDD611 |
|---|---|---|---|---|---|
| #FFF700 | 1.0 | 1.1 | 4.0 | 6.9 | 1.4 |
| #FFFCA4 | 1.1 | 1.0 | 4.2 | 7.4 | 1.4 |
| #7C7B00 | 4.0 | 4.2 | 1.0 | 1.8 | 2.9 |
| #393EC6 | 6.9 | 7.4 | 1.8 | 1.0 | 5.1 |
| #DDD611 | 1.4 | 1.4 | 2.9 | 5.1 | 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 lemon color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #FFF700, #FFFCA4, #7C7B00, #393EC6, #DDD611.
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.