#E7AC2D Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #e7ac2d graphic
Saturated and warm, this golden yellow demands attention. The hex code #e7ac2d works best as an accent color for sale banners or UI buttons, rather than a full page background. Because black text maintains a high 10.3:1 contrast ratio against it, accessibility is rarely an issue. Pair this shade with deep charcoal or navy to ground its intensity and keep your interface looking professional.

Questions about #e7ac2d

What is #e7ac2d in RGB, HSL and CMYK?
In RGB, #e7ac2d is rgb(231, 172, 45), in HSL hsl(41, 79%, 54%) and in CMYK 0%, 26%, 81%, 9%.
What colors pair well with #e7ac2d for web design?
This golden yellow looks best when grounded by high-contrast neutrals like charcoal or deep navy to prevent visual fatigue. Using it against white backgrounds provides a clean, professional look that keeps the vibrant tone from overwhelming the user interface.
Is #e7ac2d readable on white or black?
#e7ac2d has a 2.03:1 contrast ratio on white and 10.33:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it is too faint for text and on black it works for body text. Try other pairs in the contrast checker.