Skip to content

#cfff2f

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

RGB
207, 255, 47
HSL
74°, 100%, 59%
CMYK
19, 0, 82, 0
Luminance
0.8499

Every format

HEX#cfff2f
RGBrgb(207, 255, 47)
HSLhsl(74, 100%, 59%)
CMYKcmyk(19%, 0%, 82%, 0%)
LABlab(93.9 -40.0 84.3)
LCHlch(93.9 93.3 115.4)
OKLCHoklch(0.934 0.218 122.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green100.0%
Blue18.4%

CMYK percentages

Cyan18.8%
Magenta0.0%
Yellow81.6%
Key (black)0.0%

Color previews

#cfff2f text on a black background

contrast 18.00:1

Card sample

#cfff2f text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfff2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfff2f in the Color Lab