Skip to content
Vectorlight.net

#fab227

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

HEX
#fab227
RGB
250, 178, 39
HSL
39.53°, 95.48%, 56.67%
OKLCH
0.81 0.16 77.51
Names
—
Lists

Codes

FormatValue
HEX#fab227
RGBrgb(250 178 39)
HSLhsl(39.53 95.48% 56.67%)
OKLCHoklch(0.81 0.16 77.51)
CMYKcmyk(0% 28.8% 84.4% 1.96%)
Android#fffab227

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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