Skip to content
Vectorlight.net

#f0dc29

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

HEX
#f0dc29
RGB
240, 220, 41
HSL
53.97°, 86.9%, 55.1%
OKLCH
0.88 0.18 102.37
Names
—
Lists

Codes

FormatValue
HEX#f0dc29
RGBrgb(240 220 41)
HSLhsl(53.97 86.9% 55.1%)
OKLCHoklch(0.88 0.18 102.37)
CMYKcmyk(0% 8.33% 82.92% 5.88%)
Android#fff0dc29

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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