Skip to content

#caef1f

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

RGB
202, 239, 31
HSL
71°, 87%, 53%
CMYK
16, 0, 87, 6
Luminance
0.7439

Every format

HEX#caef1f
RGBrgb(202, 239, 31)
HSLhsl(71, 87%, 53%)
CMYKcmyk(16%, 0%, 87%, 6%)
LABlab(89.1 -35.2 83.4)
LCHlch(89.1 90.5 112.9)
OKLCHoklch(0.894 0.208 120.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan15.5%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#caef1f text on a black background

contrast 15.88:1

Card sample

#caef1f text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caef1f in the Color Lab