Skip to content

#cfff1f

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

RGB
207, 255, 31
HSL
73°, 100%, 56%
CMYK
19, 0, 88, 0
Luminance
0.8488

Every format

HEX#cfff1f
RGBrgb(207, 255, 31)
HSLhsl(73, 100%, 56%)
CMYKcmyk(19%, 0%, 88%, 0%)
LABlab(93.8 -40.4 87.4)
LCHlch(93.8 96.3 114.8)
OKLCHoklch(0.933 0.223 122.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#cfff1f text on a black background

contrast 17.98:1

Card sample

#cfff1f text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfff1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfff1f in the Color Lab