Skip to content

#caff2d

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

RGB
202, 255, 45
HSL
75°, 100%, 59%
CMYK
21, 0, 82, 0
Luminance
0.8427

Every format

HEX#caff2d
RGBrgb(202, 255, 45)
HSLhsl(75, 100%, 59%)
CMYKcmyk(21%, 0%, 82%, 0%)
LABlab(93.6 -41.9 84.3)
LCHlch(93.6 94.2 116.4)
OKLCHoklch(0.930 0.221 124.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caff2d on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#caff2d on black: 17.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green100.0%
Blue17.6%

CMYK percentages

Cyan20.8%
Magenta0.0%
Yellow82.4%
Key (black)0.0%

Color previews

#caff2d text on a black background

contrast 17.85:1

Card sample

#caff2d text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caff2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caff2d in the Color Lab