Skip to content
Vectorlight.net

#f1ec28

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

HEX
#f1ec28
RGB
241, 236, 40
HSL
58.51°, 87.77%, 55.1%
OKLCH
0.92 0.19 108.01
Names
—
Lists

Codes

FormatValue
HEX#f1ec28
RGBrgb(241 236 40)
HSLhsl(58.51 87.77% 55.1%)
OKLCHoklch(0.92 0.19 108.01)
CMYKcmyk(0% 2.07% 83.4% 5.49%)
Android#fff1ec28

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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