Color #f2ffa4
A vivid, highly saturated very light yellow.
Conversions
#f2ffa4
rgb(242, 255, 164)
hsl(68.6, 100%, 82.2%)
hsv(68.6, 35.7%, 100%)
cmyk(5.1%, 0%, 35.7%, 0%)
lab(97.26, -17.92, 42.1)
lch(97.26, 45.76, 113.06)
oklch(97%, 0.1145, 115.22)
hwb(68.6, 64.3%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (19.62:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#f8f8bf · ΔE 6.7
Deuteranopia
#f7f6c5 · ΔE 8.4
Tritanopia
#f3d2d6 · ΔE 34.4
Achromatopsia
#f7f7f7 · ΔE 22.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #f2ffa4;
bg-[#f2ffa4]
Related colors
Frequently asked questions
#f2ffa4 (#f2ffa4) is rgb(242, 255, 164) in RGB.
No, #f2ffa4 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 #f2ffa4, or check how it holds up for accessibility.