#E2C831 Hex Color

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

Hex color #e2c831 graphic
#e2c831 is a highly saturated, golden yellow that demands attention. Because of its intensity, it functions best as a small accent color for call-to-action buttons or highlights rather than a full background. This shade pairs exceptionally well with charcoal gray or deep navy for high-contrast, modern compositions. Black text provides excellent readability against the hex code #e2c831, making it safe for accessible design.

Questions about #e2c831

What is #e2c831 in RGB, HSL and CMYK?
In RGB, #e2c831 is rgb(226, 200, 49), in HSL hsl(51, 75%, 54%) and in CMYK 0%, 12%, 78%, 11%.
Which colors pair best with #e2c831 for modern layouts?
Because of its high intensity, #e2c831 creates a sophisticated, modern look when paired with deep, neutral tones like charcoal or navy. These darker colors provide the stability required to balance the brightness and energy of this specific yellow.
Is #e2c831 readable on white or black?
#e2c831 has a 1.67:1 contrast ratio on white and 12.53: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.