#FFEFA2 Hex Color

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

Hex color #ffefa2 graphic
This luminous, pastel yellow feels airy and gentle due to its low saturation. The hex code #ffefa2 works best as a soft background, particularly in spring-themed designs or baby product branding. Because it offers strong contrast against black text, it maintains excellent readability for small, body-copy fonts. Pair it with deep charcoal or muted navy tones to anchor its brightness.

Questions about #ffefa2

What is #ffefa2 in RGB, HSL and CMYK?
In RGB, #ffefa2 is rgb(255, 239, 162), in HSL hsl(50, 100%, 82%) and in CMYK 0%, 6%, 36%, 0%. Browse more shades of yellow with names and hex codes.
What colors pair well with the #ffefa2 pastel yellow?
Because #ffefa2 is a bright, airy shade, it is best anchored by deep neutrals like charcoal or navy. These darker tones provide the necessary contrast to keep the color from feeling too washed out in a design.
Is #ffefa2 readable on white or black?
#ffefa2 has a 1.15:1 contrast ratio on white and 18.12: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.