#F5C871 Hex Color

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

Hex color #f5c871 graphic
#f5c871 is a light, sunny yellow with warm, golden undertones. This cheerful hue works best as a supporting accent in spring-themed designs or baby products rather than a dominant background. Because it offers strong contrast with black, use it for readable text or CTA buttons. The hex code for this pastel shade is #f5c871. Pair it with deep charcoals to ground its high energy.

Questions about #f5c871

What is #f5c871 in RGB, HSL and CMYK?
In RGB, #f5c871 is rgb(245, 200, 113), in HSL hsl(40, 87%, 70%) and in CMYK 0%, 18%, 54%, 4%. Browse more shades of yellow with names and hex codes.
What colors pair well with #f5c871?
Because #f5c871 is such a high-energy yellow, it creates a sophisticated balance when paired with deep charcoal or matte navy tones. Using these dark, grounding neutrals helps prevent the yellow from feeling too overwhelming while keeping the design readable and professional.
Is #f5c871 readable on white or black?
#f5c871 has a 1.56:1 contrast ratio on white and 13.38: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.