Skip to content

#cfff20

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

RGB
207, 255, 32
HSL
73°, 100%, 56%
CMYK
19, 0, 88, 0
Luminance
0.8489

Every format

HEX#cfff20
RGBrgb(207, 255, 32)
HSLhsl(73, 100%, 56%)
CMYKcmyk(19%, 0%, 88%, 0%)
LABlab(93.8 -40.4 87.2)
LCHlch(93.8 96.1 114.8)
OKLCHoklch(0.933 0.222 122.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfff20 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#cfff20 on black: 17.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green100.0%
Blue12.5%

CMYK percentages

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

Color previews

#cfff20 text on a black background

contrast 17.98:1

Card sample

#cfff20 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfff20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfff20 in the Color Lab