Skip to content
Vectorlight.net

#caf01f

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

HEX
#caf01f
RGB
202, 240, 31
HSL
70.91°, 87.45%, 53.14%
OKLCH
0.9 0.21 120.77
Names
—
Lists

Codes

FormatValue
HEX#caf01f
RGBrgb(202 240 31)
HSLhsl(70.91 87.45% 53.14%)
OKLCHoklch(0.9 0.21 120.77)
CMYKcmyk(15.83% 0% 87.08% 5.88%)
Android#ffcaf01f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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