Skip to content

#cafd2c

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

RGB
202, 253, 44
HSL
75°, 98%, 58%
CMYK
20, 0, 83, 1
Luminance
0.8299

Every format

HEX#cafd2c
RGBrgb(202, 253, 44)
HSLhsl(75, 98%, 58%)
CMYKcmyk(20%, 0%, 83%, 1%)
LABlab(93.0 -41.1 84.1)
LCHlch(93.0 93.6 116.0)
OKLCHoklch(0.926 0.219 123.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cafd2c on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#cafd2c on black: 17.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green99.2%
Blue17.3%

CMYK percentages

Cyan20.2%
Magenta0.0%
Yellow82.6%
Key (black)0.8%

Color previews

#cafd2c text on a black background

contrast 17.60:1

Card sample

#cafd2c text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cafd2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cafd2c in the Color Lab