Color #f0f2d8
A moderately saturated very light yellow.
Conversions
#f0f2d8
rgb(240, 242, 216)
hsl(64.6, 50%, 89.8%)
hsv(64.6, 10.7%, 94.9%)
cmyk(0.8%, 0%, 10.7%, 5.1%)
lab(94.73, -5.05, 12.33)
lch(94.73, 13.32, 112.27)
oklch(95.3%, 0.0343, 110.65)
hwb(64.6, 84.7%, 5.1%)
Harmony colors
Accessibility
Black text reads better on this background (18.4:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#f1f1df · ΔE 3
Deuteranopia
#f1f1e0 · ΔE 3.4
Tritanopia
#f0e4e5 · ΔE 15.7
Achromatopsia
#f0f0f0 · ΔE 10.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #f0f2d8;
bg-[#f0f2d8]
Related colors
Frequently asked questions
#f0f2d8 (#f0f2d8) is rgb(240, 242, 216) in RGB.
No, #f0f2d8 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #f0f2d8, or check how it holds up for accessibility.