Color #f0efec
A nearly neutral, gray-leaning very light yellow.
Conversions
#f0efec
rgb(240, 239, 236)
hsl(45, 11.8%, 93.3%)
hsv(45, 1.7%, 94.1%)
cmyk(0%, 0.4%, 1.7%, 5.9%)
lab(94.45, -0.19, 1.56)
lch(94.45, 1.57, 96.94)
oklch(95.2%, 0.0041, 91.4)
hwb(45, 92.5%, 5.9%)
Harmony colors
Accessibility
Black text reads better on this background (18.26:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#f0f0ed · ΔE 0.5
Deuteranopia
#f0f0ed · ΔE 0.5
Tritanopia
#f0eded · ΔE 2.1
Achromatopsia
#efefef · ΔE 1.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #f0efec;
bg-[#f0efec]
Related colors
Frequently asked questions
#f0efec (#f0efec) is rgb(240, 239, 236) in RGB.
No, #f0efec 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 #f0efec, or check how it holds up for accessibility.