Skip to content
Vectorlight.net

#fbf28d

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

HEX
#fbf28d
RGB
251, 242, 141
HSL
55.09°, 93.22%, 76.86%
OKLCH
0.95 0.12 104.02
Names
—
Lists

Codes

FormatValue
HEX#fbf28d
RGBrgb(251 242 141)
HSLhsl(55.09 93.22% 76.86%)
OKLCHoklch(0.95 0.12 104.02)
CMYKcmyk(0% 3.59% 43.82% 1.57%)
Android#fffbf28d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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