Skip to content

#cbef21

a balanced, electric green · cool · closest name: yellow

RGB
203, 239, 33
HSL
71°, 87%, 53%
CMYK
15, 0, 86, 6
Luminance
0.7454

Every format

HEX#cbef21
RGBrgb(203, 239, 33)
HSLhsl(71, 87%, 53%)
CMYKcmyk(15%, 0%, 86%, 6%)
LABlab(89.2 -34.8 83.1)
LCHlch(89.2 90.1 112.7)
OKLCHoklch(0.895 0.207 120.3)

Copy-ready code

/* CSS */
color: #cbef21;
background-color: #cbef21;
/* Tailwind (arbitrary) */
class="text-[#cbef21] bg-[#cbef21]"
/* SCSS */
$brand: #cbef21;
/* SwiftUI */
Color(red: 0.796, green: 0.937, blue: 0.129)
/* Android */
Color.parseColor("#cbef21")

Accessibility — WCAG contrast

Aa
#cbef21 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#cbef21 on black: 15.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green93.7%
Blue12.9%

CMYK percentages

Cyan15.1%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#cbef21 text on a black background

contrast 15.91:1

Card sample

#cbef21 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cbef21;
Background color
Panel with #cbef21 background
background-color: #cbef21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cbef21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(203, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbef21;
background: linear-gradient(135deg, #cbef21, #41EF21);

Monochromatic scale

Palettes built from #cbef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbef21 in the Color Lab