Skip to content
Vectorlight.net

#f0bb0c

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

HEX
#f0bb0c
RGB
240, 187, 12
HSL
46.05°, 90.48%, 49.41%
OKLCH
0.82 0.17 87.71
Names
—
Lists

Codes

FormatValue
HEX#f0bb0c
RGBrgb(240 187 12)
HSLhsl(46.05 90.48% 49.41%)
OKLCHoklch(0.82 0.17 87.71)
CMYKcmyk(0% 22.08% 95% 5.88%)
Android#fff0bb0c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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