Skip to content
Vectorlight.net

#f5871f

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

HEX
#f5871f
RGB
245, 135, 31
HSL
29.16°, 91.45%, 54.12%
OKLCH
0.73 0.17 56.49
Names
—
Lists

Codes

FormatValue
HEX#f5871f
RGBrgb(245 135 31)
HSLhsl(29.16 91.45% 54.12%)
OKLCHoklch(0.73 0.17 56.49)
CMYKcmyk(0% 44.9% 87.35% 3.92%)
Android#fff5871f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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