Eid Color Palette

Festive green, gold, white and a sapphire accent — celebration without clutter for Eid designs. Anchors: #046307, #C9A227, #FFFFFF, #0F52BA.

eidislamiccelebration
#046307
#C9A227
#FFFFFF
#0F52BA
#97B78D
#046307 #c9a227 #ffffff #0f52ba #97b78d
#046307 #C9A227 #FFFFFF #0F52BA #97B78D

Semantic roles

Assigned deterministically: lightest = background, darkest = text, most saturated = primary.

background#FFFFFF
surface#97B78D
text#046307
text-muted#0F52BA
primary#0F52BA
secondary#C9A227
accent#97B78D

CSS variables

:root {
  --background: #ffffff;
  --surface: #97b78d;
  --text: #046307;
  --text-muted: #0f52ba;
  --primary: #0f52ba;
  --secondary: #c9a227;
  --accent: #97b78d;
}
Preview in UIs →

Accessibility matrix

Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).

Text \ BG#046307#C9A227#FFFFFF#0F52BA#97B78D
#046307
1.0
3.1
7.5
1.1
3.4
#C9A227
3.1
1.0
2.4
3.0
1.1
#FFFFFF
7.5
2.4
1.0
7.2
2.2
#0F52BA
1.1
3.0
7.2
1.0
3.2
#97B78D
3.4
1.1
2.2
3.2
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 eid color palette in CSS?

Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #046307, #C9A227, #FFFFFF, #0F52BA, #97B78D.

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.