Skip to content

#cfff02

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

RGB
207, 255, 2
HSL
71°, 100%, 50%
CMYK
19, 0, 99, 0
Luminance
0.8479

Every format

HEX#cfff02
RGBrgb(207, 255, 2)
HSLhsl(71, 100%, 50%)
CMYKcmyk(19%, 0%, 99%, 0%)
LABlab(93.8 -40.8 90.3)
LCHlch(93.8 99.1 114.3)
OKLCHoklch(0.933 0.227 122.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green100.0%
Blue0.8%

CMYK percentages

Cyan18.8%
Magenta0.0%
Yellow99.2%
Key (black)0.0%

Color previews

#cfff02 text on a black background

contrast 17.96:1

Card sample

#cfff02 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfff02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfff02 in the Color Lab