Skip to content
Vectorlight.net

#fbf42d

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

HEX
#fbf42d
RGB
251, 244, 45
HSL
57.96°, 96.26%, 58.04%
OKLCH
0.94 0.19 107.38
Names
—
Lists

Codes

FormatValue
HEX#fbf42d
RGBrgb(251 244 45)
HSLhsl(57.96 96.26% 58.04%)
OKLCHoklch(0.94 0.19 107.38)
CMYKcmyk(0% 2.79% 82.07% 1.57%)
Android#fffbf42d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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