Skip to content
Vectorlight.net

#f7df2f

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

HEX
#f7df2f
RGB
247, 223, 47
HSL
52.8°, 92.59%, 57.65%
OKLCH
0.9 0.18 100.86
Names
—
Lists

Codes

FormatValue
HEX#f7df2f
RGBrgb(247 223 47)
HSLhsl(52.8 92.59% 57.65%)
OKLCHoklch(0.9 0.18 100.86)
CMYKcmyk(0% 9.72% 80.97% 3.14%)
Android#fff7df2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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