Skip to content
Vectorlight.net

#f0fbc2

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#f0fbc2
RGB
240, 251, 194
HSL
71.58°, 87.69%, 87.25%
OKLCH
0.97 0.07 116.69
Names
—
Lists

Codes

FormatValue
HEX#f0fbc2
RGBrgb(240 251 194)
HSLhsl(71.58 87.69% 87.25%)
OKLCHoklch(0.97 0.07 116.69)
CMYKcmyk(4.38% 0% 22.71% 1.57%)
Android#fff0fbc2

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.08:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
19.28:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#f0fbc2"
Gradient stop
<stop stop-color="#f0fbc2"/>
CSS variable + fill
:root { --c: #f0fbc2; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #f0fbc2;
background-color: #f0fbc2;
bg-[#f0fbc2]