Color #fef7dc
A vivid, highly saturated very light yellow.
Conversions
#fef7dc
rgb(254, 247, 220)
hsl(47.6, 94.4%, 92.9%)
hsv(47.6, 13.4%, 99.6%)
cmyk(0%, 2.8%, 13.4%, 0.4%)
lab(97.13, -2.06, 13.82)
lch(97.13, 13.97, 98.48)
oklch(97.5%, 0.036, 94.94)
hwb(47.6, 86.3%, 0.4%)
Harmony colors
Accessibility
Black text reads better on this background (19.55:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#fbfbe3 · ΔE 3.1
Deuteranopia
#fbfce5 · ΔE 3.6
Tritanopia
#fee8e9 · ΔE 16.5
Achromatopsia
#f7f7f7 · ΔE 10.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #fef7dc;
bg-[#fef7dc]
Related colors
Frequently asked questions
#fef7dc (#fef7dc) is rgb(254, 247, 220) in RGB.
No, #fef7dc is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #fef7dc, or check how it holds up for accessibility.