Skip to content
Vectorlight.net

#faf2bf

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

HEX
#faf2bf
RGB
250, 242, 191
HSL
51.86°, 85.51%, 86.47%
OKLCH
0.95 0.07 100.09
Names
—
Lists

Codes

FormatValue
HEX#faf2bf
RGBrgb(250 242 191)
HSLhsl(51.86 85.51% 86.47%)
OKLCHoklch(0.95 0.07 100.09)
CMYKcmyk(0% 3.2% 23.6% 1.96%)
Android#fffaf2bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.13:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
18.51: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="#faf2bf"
Gradient stop
<stop stop-color="#faf2bf"/>
CSS variable + fill
:root { --c: #faf2bf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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