#FEF0C7 Hex Color

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

Hex color #fef0c7 graphic
#fef0c7 is a pale, buttery cream that leans yellow without ever getting loud. Its low saturation and high lightness make it a dependable base for warm UI backgrounds, packaging, and spring layouts, where plain white would feel too stark. It flatters deep olive and charcoal better than bright accents do. With black text at roughly 18.5:1 contrast, it clears WCAG AA for body copy.

Questions about #fef0c7

What is #fef0c7 in RGB, HSL and CMYK?
In RGB, #fef0c7 is rgb(254, 240, 199), in HSL hsl(45, 96%, 89%) and in CMYK 0%, 6%, 22%, 0%. Browse more shades of yellow with names and hex codes.
What colors pair well with #fef0c7?
Deep olive, charcoal, and navy all give #fef0c7 enough contrast to feel intentional, while terracotta keeps the palette warm and grounded. Save brighter accents for small touches only.
Is #fef0c7 readable on white or black?
#fef0c7 has a 1.13:1 contrast ratio on white and 18.50: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.