Skip to content
Vectorlight.net

#fff04e

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

HEX
#fff04e
RGB
255, 240, 78
HSL
54.92°, 100%, 65.29%
OKLCH
0.94 0.17 103.97
Names
—
Lists

Codes

FormatValue
HEX#fff04e
RGBrgb(255 240 78)
HSLhsl(54.92 100% 65.29%)
OKLCHoklch(0.94 0.17 103.97)
CMYKcmyk(0% 5.88% 69.41% 0%)
Android#fffff04e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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