#F2E7A6 Hex Color

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

Hex color #f2e7a6 graphic
A sunny, desaturated yellow with a mellow, buttery quality, #f2e7a6 offers a gentle alternative to stark white. This pastel shade feels approachable and youthful, making it ideal for soft backgrounds in web design. Because it holds strong contrast against black text, you can use it for readable, inviting layouts. Pair it with deep charcoals or slate blues to prevent it from looking washed out.

Questions about #f2e7a6

What is #f2e7a6 in RGB, HSL and CMYK?
In RGB, #f2e7a6 is rgb(242, 231, 166), in HSL hsl(51, 75%, 80%) and in CMYK 0%, 5%, 31%, 5%. Browse more shades of yellow with names and hex codes.
What colors complement #f2e7a6 for a balanced palette?
To ground this buttery yellow, pair it with muted navy or soft slate blue tones to prevent the overall design from feeling too light or washed out. These cooler shades provide the necessary visual anchor to make the sunny, warm qualities of #f2e7a6 pop.
Is #f2e7a6 readable on white or black?
#f2e7a6 has a 1.25:1 contrast ratio on white and 16.75: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.