Skip to content
Vectorlight.net

#fbac0d

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

HEX
#fbac0d
RGB
251, 172, 13
HSL
40.08°, 96.75%, 51.76%
OKLCH
0.8 0.17 75.38
Names
—
Lists

Codes

FormatValue
HEX#fbac0d
RGBrgb(251 172 13)
HSLhsl(40.08 96.75% 51.76%)
OKLCHoklch(0.8 0.17 75.38)
CMYKcmyk(0% 31.47% 94.82% 1.57%)
Android#fffbac0d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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