Skip to content

#caef21

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

RGB
202, 239, 33
HSL
71°, 87%, 53%
CMYK
16, 0, 86, 6
Luminance
0.7440

Every format

HEX#caef21
RGBrgb(202, 239, 33)
HSLhsl(71, 87%, 53%)
CMYKcmyk(16%, 0%, 86%, 6%)
LABlab(89.1 -35.1 83.1)
LCHlch(89.1 90.2 112.9)
OKLCHoklch(0.894 0.207 120.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.2%
Green93.7%
Blue12.9%

CMYK percentages

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

Color previews

#caef21 text on a black background

contrast 15.88:1

Card sample

#caef21 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caef21 in the Color Lab