Skip to content
Vectorlight.net

#caf540

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

HEX
#caf540
RGB
202, 245, 64
HSL
74.25°, 90.05%, 60.59%
OKLCH
0.91 0.2 122.42
Names
—
Lists

Codes

FormatValue
HEX#caf540
RGBrgb(202 245 64)
HSLhsl(74.25 90.05% 60.59%)
OKLCHoklch(0.91 0.2 122.42)
CMYKcmyk(17.55% 0% 73.88% 3.92%)
Android#ffcaf540

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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