Skip to content
Vectorlight.net

#cbf21f

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

HEX
#cbf21f
RGB
203, 242, 31
HSL
71.09°, 89.03%, 53.53%
OKLCH
0.9 0.21 120.95
Names
—
Lists

Codes

FormatValue
HEX#cbf21f
RGBrgb(203 242 31)
HSLhsl(71.09 89.03% 53.53%)
OKLCHoklch(0.9 0.21 120.95)
CMYKcmyk(16.12% 0% 87.19% 5.1%)
Android#ffcbf21f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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