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

Sale banners and caution signs often reach for this glowing yellow, and #edc31b is the hex code behind them. Its high saturation makes it loud, so treat it as a 10% accent instead of a full background. Deep navy tempers its energy, and black text passes contrast checks on it easily.
Questions about #edc31b
What is #edc31b in RGB, HSL and CMYK?
In RGB, #edc31b is rgb(237, 195, 27), in HSL hsl(48, 85%, 52%) and in CMYK 0%, 18%, 89%, 7%. Browse more shades of yellow with names and hex codes.
What colors pair well with #edc31b?
Deep navy makes #edc31b glow through contrast, a pairing that works well in sale graphics, sports branding, and posters where the yellow needs a dark anchor to keep it from overwhelming the page. Charcoal and warm brown are softer options when you want the yellow to feel mellow.
Is #edc31b readable on white or black?
#edc31b has a 1.69:1 contrast ratio on white and 12.42: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.