Skip to content
Vectorlight.net

#f1e42e

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

HEX
#f1e42e
RGB
241, 228, 46
HSL
56°, 87.44%, 56.27%
OKLCH
0.9 0.18 105.06
Names
—
Lists

Codes

FormatValue
HEX#f1e42e
RGBrgb(241 228 46)
HSLhsl(56 87.44% 56.27%)
OKLCHoklch(0.9 0.18 105.06)
CMYKcmyk(0% 5.39% 80.91% 5.49%)
Android#fff1e42e

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.87: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="#f1e42e"
Gradient stop
<stop stop-color="#f1e42e"/>
CSS variable + fill
:root { --c: #f1e42e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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