Skip to content
Vectorlight.net

#fab951

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

HEX
#fab951
RGB
250, 185, 81
HSL
36.92°, 94.41%, 64.9%
OKLCH
0.83 0.14 76.18
Names
—
Lists

Codes

FormatValue
HEX#fab951
RGBrgb(250 185 81)
HSLhsl(36.92 94.41% 64.9%)
OKLCHoklch(0.83 0.14 76.18)
CMYKcmyk(0% 26% 67.6% 1.96%)
Android#fffab951

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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