Black Friday 2026: design deals we check every day. See the deals โ†’

#F2E387 Hex Color

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

Hex color #f2e387 graphic
#f2e387 is a soft, sparkling yellow with a distinctly light saturation. Its high luminosity makes it an excellent choice for backgrounds in spring-themed designs or baby products, providing a gentle warmth without overwhelming the viewer. Because it offers strong contrast against black text, it maintains readability in UI applications. Pair this shade with a deep charcoal or navy to prevent it from looking washed out.

Questions about #f2e387

What is #f2e387 in RGB, HSL and CMYK?
In RGB, #f2e387 is rgb(242, 227, 135), in HSL hsl(52, 80%, 74%) and in CMYK 0%, 6%, 44%, 5%. Browse more shades of yellow with names and hex codes.
What colors pair best with #f2e387 for a balanced design?
Pair #f2e387 with deep charcoal or dark navy to anchor the design and improve text legibility. Because this yellow is highly luminous, darker tones prevent it from appearing washed out or losing definition in user interfaces.
Is #f2e387 suitable for text on a white background?
Avoid using #f2e387 for body text against white, as the low contrast fails accessibility standards for reading. It performs best as a vibrant background accent that holds its own when paired with high-contrast, dark-colored elements like black or dark gray.
Is #f2e387 readable on white or black?
#f2e387 has a 1.30:1 contrast ratio on white and 16.11: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.