Skip to content
Vectorlight.net

#caf040

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

HEX
#caf040
RGB
202, 240, 64
HSL
72.95°, 85.44%, 59.61%
OKLCH
0.9 0.2 121.32
Names
—
Lists

Codes

FormatValue
HEX#caf040
RGBrgb(202 240 64)
HSLhsl(72.95 85.44% 59.61%)
OKLCHoklch(0.9 0.2 121.32)
CMYKcmyk(15.83% 0% 73.33% 5.88%)
Android#ffcaf040

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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