Skip to content
Vectorlight.net

#f0cb33

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

HEX
#f0cb33
RGB
240, 203, 51
HSL
48.25°, 86.3%, 57.06%
OKLCH
0.85 0.16 94.3
Names
—
Lists

Codes

FormatValue
HEX#f0cb33
RGBrgb(240 203 51)
HSLhsl(48.25 86.3% 57.06%)
OKLCHoklch(0.85 0.16 94.3)
CMYKcmyk(0% 15.42% 78.75% 5.88%)
Android#fff0cb33

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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