Skip to content
Vectorlight.net

#ffe40f

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

HEX
#ffe40f
RGB
255, 228, 15
HSL
53.25°, 100%, 52.94%
OKLCH
0.91 0.19 100.53
Names
—
Lists

Codes

FormatValue
HEX#ffe40f
RGBrgb(255 228 15)
HSLhsl(53.25 100% 52.94%)
OKLCHoklch(0.91 0.19 100.53)
CMYKcmyk(0% 10.59% 94.12% 0%)
Android#ffffe40f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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