Skip to content

#caff20

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

RGB
202, 255, 32
HSL
74°, 100%, 56%
CMYK
21, 0, 88, 0
Luminance
0.8418

Every format

HEX#caff20
RGBrgb(202, 255, 32)
HSLhsl(74, 100%, 56%)
CMYKcmyk(21%, 0%, 88%, 0%)
LABlab(93.5 -42.3 86.9)
LCHlch(93.5 96.6 116.0)
OKLCHoklch(0.930 0.225 123.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.2%
Green100.0%
Blue12.5%

CMYK percentages

Cyan20.8%
Magenta0.0%
Yellow87.5%
Key (black)0.0%

Color previews

#caff20 text on a black background

contrast 17.84:1

Card sample

#caff20 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caff20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caff20 in the Color Lab