Skip to content
Vectorlight.net

#fab540

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

HEX
#fab540
RGB
250, 181, 64
HSL
37.74°, 94.9%, 61.57%
OKLCH
0.82 0.15 76.46
Names
—
Lists

Codes

FormatValue
HEX#fab540
RGBrgb(250 181 64)
HSLhsl(37.74 94.9% 61.57%)
OKLCHoklch(0.82 0.15 76.46)
CMYKcmyk(0% 27.6% 74.4% 1.96%)
Android#fffab540

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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