Skip to content
Vectorlight.net

#f0df30

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

HEX
#f0df30
RGB
240, 223, 48
HSL
54.69°, 86.49%, 56.47%
OKLCH
0.89 0.18 103.44
Names
—
Lists

Codes

FormatValue
HEX#f0df30
RGBrgb(240 223 48)
HSLhsl(54.69 86.49% 56.47%)
OKLCHoklch(0.89 0.18 103.44)
CMYKcmyk(0% 7.08% 80% 5.88%)
Android#fff0df30

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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