Skip to content
Vectorlight.net

#f0da3a

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

HEX
#f0da3a
RGB
240, 218, 58
HSL
52.75°, 85.85%, 58.43%
OKLCH
0.88 0.17 101.07
Names
—
Lists

Codes

FormatValue
HEX#f0da3a
RGBrgb(240 218 58)
HSLhsl(52.75 85.85% 58.43%)
OKLCHoklch(0.88 0.17 101.07)
CMYKcmyk(0% 9.17% 75.83% 5.88%)
Android#fff0da3a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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