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

#f5d52a is a warm, saturated yellow that demands attention. Its high-energy presence works best as an accent for call-to-action buttons or marketing graphics, rather than a full background. Black text remains sharp and legible against this hue, with an impressive 14.4:1 contrast ratio. For a balanced design, pair it with dark charcoals instead of pure white. The hex code is #f5d52a.
Questions about #f5d52a
What is #f5d52a in RGB, HSL and CMYK?
In RGB, #f5d52a is rgb(245, 213, 42), in HSL hsl(51, 91%, 56%) and in CMYK 0%, 13%, 83%, 4%. Browse more shades of yellow with names and hex codes.
Does #f5d52a work well as a primary background color?
Using #f5d52a as a full background often creates excessive visual strain because of its high saturation. It performs much better as a deliberate accent or highlight color when paired with dark, grounding neutrals like charcoal or deep navy text.
Is #f5d52a readable on white or black?
#f5d52a has a 1.45:1 contrast ratio on white and 14.43: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.