Skip to content
Vectorlight.net

#fff04f

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

HEX
#fff04f
RGB
255, 240, 79
HSL
54.89°, 100%, 65.49%
OKLCH
0.94 0.17 103.94
Names
—
Lists

Codes

FormatValue
HEX#fff04f
RGBrgb(255 240 79)
HSLhsl(54.89 100% 65.49%)
OKLCHoklch(0.94 0.17 103.94)
CMYKcmyk(0% 5.88% 69.02% 0%)
Android#fffff04f

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

Recolor an SVG with this color

CSS

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