Skip to content
Vectorlight.net

#f7c42e

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

HEX
#f7c42e
RGB
247, 196, 46
HSL
44.78°, 92.63%, 57.45%
OKLCH
0.84 0.16 88.08
Names
—
Lists

Codes

FormatValue
HEX#f7c42e
RGBrgb(247 196 46)
HSLhsl(44.78 92.63% 57.45%)
OKLCHoklch(0.84 0.16 88.08)
CMYKcmyk(0% 20.65% 81.38% 3.14%)
Android#fff7c42e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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