Skip to content
Vectorlight.net

#f7ef2a

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

HEX
#f7ef2a
RGB
247, 239, 42
HSL
57.66°, 92.76%, 56.67%
OKLCH
0.93 0.19 107.02
Names
—
Lists

Codes

FormatValue
HEX#f7ef2a
RGBrgb(247 239 42)
HSLhsl(57.66 92.76% 56.67%)
OKLCHoklch(0.93 0.19 107.02)
CMYKcmyk(0% 3.24% 83% 3.14%)
Android#fff7ef2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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