Skip to content
Vectorlight.net

#f5b71b

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

HEX
#f5b71b
RGB
245, 183, 27
HSL
42.94°, 91.6%, 53.33%
OKLCH
0.81 0.16 83.04
Names
—
Lists

Codes

FormatValue
HEX#f5b71b
RGBrgb(245 183 27)
HSLhsl(42.94 91.6% 53.33%)
OKLCHoklch(0.81 0.16 83.04)
CMYKcmyk(0% 25.31% 88.98% 3.92%)
Android#fff5b71b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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