Color #f2e197
A vivid, highly saturated light yellow.
Conversions
#f2e197
rgb(242, 225, 151)
hsl(48.8, 77.8%, 77.1%)
hsv(48.8, 37.6%, 94.9%)
cmyk(0%, 7%, 37.6%, 5.1%)
lab(89.38, -4.55, 38.32)
lch(89.38, 38.59, 96.77)
oklch(90.7%, 0.0951, 96.77)
hwb(48.8, 59.2%, 5.1%)
Harmony colors
Accessibility
Black text reads better on this background (15.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#ebebad · ΔE 5.7
Deuteranopia
#ecedb2 · ΔE 6.4
Tritanopia
#f1bcbf · ΔE 30.7
Achromatopsia
#e1e1e1 · ΔE 20.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #f2e197;
bg-[#f2e197]
Related colors
Frequently asked questions
#f2e197 (#f2e197) is rgb(242, 225, 151) in RGB.
No, #f2e197 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 #f2e197, or check how it holds up for accessibility.