#EBC52F Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This bright, saturated yellow commands attention immediately. With its warm, golden undertones, #ebc52f functions best as a punchy accent rather than a full background, where it can easily overwhelm the eye. It pairs surprisingly well with charcoal grays for a modern industrial look. Because it offers strong contrast against black text, it works effectively for CTA buttons and critical UI notifications.
Questions about #ebc52f
What is #ebc52f in RGB, HSL and CMYK?
In RGB, #ebc52f is rgb(235, 197, 47), in HSL hsl(48, 82%, 55%) and in CMYK 0%, 16%, 80%, 8%. Browse more shades of yellow with names and hex codes.
How can I use #ebc52f effectively in a UI design?
#ebc52f works best as a punchy accent color for call-to-action buttons or critical notifications, as its high saturation naturally draws the eye. Avoid using it as a large background color, as it can quickly overwhelm viewers and cause eye strain.
What colors pair well with #ebc52f?
This yellow pairs exceptionally well with charcoal or deep, dark grays to create a modern, industrial look. The strong contrast against dark text makes it highly effective for accessibility, provided you ensure the text remains legible on top of it.
Is #ebc52f readable on white or black?
#ebc52f has a 1.67:1 contrast ratio on white and 12.55: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.