Skip to content
Vectorlight.net

#ffec2a

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

HEX
#ffec2a
RGB
255, 236, 42
HSL
54.65°, 100%, 58.24%
OKLCH
0.93 0.19 103.23
Names
—
Lists

Codes

FormatValue
HEX#ffec2a
RGBrgb(255 236 42)
HSLhsl(54.65 100% 58.24%)
OKLCHoklch(0.93 0.19 103.23)
CMYKcmyk(0% 7.45% 83.53% 0%)
Android#ffffec2a

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

Recolor an SVG with this color

CSS

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