Skip to content

#cafd2f

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

RGB
202, 253, 47
HSL
75°, 98%, 59%
CMYK
20, 0, 81, 1
Luminance
0.8301

Every format

HEX#cafd2f
RGBrgb(202, 253, 47)
HSLhsl(75, 98%, 59%)
CMYKcmyk(20%, 0%, 81%, 1%)
LABlab(93.0 -41.0 83.4)
LCHlch(93.0 93.0 116.2)
OKLCHoklch(0.926 0.218 123.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.2%
Green99.2%
Blue18.4%

CMYK percentages

Cyan20.2%
Magenta0.0%
Yellow81.4%
Key (black)0.8%

Color previews

#cafd2f text on a black background

contrast 17.60:1

Card sample

#cafd2f text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cafd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cafd2f in the Color Lab