Skip to content
Vectorlight.net

#f4e240

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

HEX
#f4e240
RGB
244, 226, 64
HSL
54°, 89.11%, 60.39%
OKLCH
0.9 0.17 102.76
Names
—
Lists

Codes

FormatValue
HEX#f4e240
RGBrgb(244 226 64)
HSLhsl(54 89.11% 60.39%)
OKLCHoklch(0.9 0.17 102.76)
CMYKcmyk(0% 7.38% 73.77% 4.31%)
Android#fff4e240

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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