Skip to content
Vectorlight.net

#fbf7dc

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

HEX
#fbf7dc
RGB
251, 247, 220
HSL
52.26°, 79.49%, 92.35%
OKLCH
0.97 0.04 100.12
Names
—
Lists

Codes

FormatValue
HEX#fbf7dc
RGBrgb(251 247 220)
HSLhsl(52.26 79.49% 92.35%)
OKLCHoklch(0.97 0.04 100.12)
CMYKcmyk(0% 1.59% 12.35% 1.57%)
Android#fffbf7dc

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.43: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="#fbf7dc"
Gradient stop
<stop stop-color="#fbf7dc"/>
CSS variable + fill
:root { --c: #fbf7dc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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