Skip to content
Vectorlight.net

#fbf287

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

HEX
#fbf287
RGB
251, 242, 135
HSL
55.34°, 93.55%, 75.69%
OKLCH
0.95 0.13 104.33
Names
—
Lists

Codes

FormatValue
HEX#fbf287
RGBrgb(251 242 135)
HSLhsl(55.34 93.55% 75.69%)
OKLCHoklch(0.95 0.13 104.33)
CMYKcmyk(0% 3.59% 46.22% 1.57%)
Android#fffbf287

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

Recolor an SVG with this color

CSS

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