Skip to content
Vectorlight.net

#f5b22f

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

HEX
#f5b22f
RGB
245, 178, 47
HSL
39.7°, 90.83%, 57.25%
OKLCH
0.81 0.16 78.78
Names
—
Lists

Codes

FormatValue
HEX#f5b22f
RGBrgb(245 178 47)
HSLhsl(39.7 90.83% 57.25%)
OKLCHoklch(0.81 0.16 78.78)
CMYKcmyk(0% 27.35% 80.82% 3.92%)
Android#fff5b22f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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