Skip to content
Vectorlight.net

#f7cc04

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

HEX
#f7cc04
RGB
247, 204, 4
HSL
49.38°, 96.81%, 49.22%
OKLCH
0.86 0.18 93.38
Names
—
Lists

Codes

FormatValue
HEX#f7cc04
RGBrgb(247 204 4)
HSLhsl(49.38 96.81% 49.22%)
OKLCHoklch(0.86 0.18 93.38)
CMYKcmyk(0% 17.41% 98.38% 3.14%)
Android#fff7cc04

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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