Skip to content

#cffc1d

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

RGB
207, 252, 29
HSL
72°, 97%, 55%
CMYK
18, 0, 89, 1
Luminance
0.8297

Every format

HEX#cffc1d
RGBrgb(207, 252, 29)
HSLhsl(72, 97%, 55%)
CMYKcmyk(18%, 0%, 89%, 1%)
LABlab(93.0 -39.1 87.0)
LCHlch(93.0 95.4 114.2)
OKLCHoklch(0.926 0.220 122.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cffc1d on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#cffc1d on black: 17.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green98.8%
Blue11.4%

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow88.5%
Key (black)1.2%

Color previews

#cffc1d text on a black background

contrast 17.59:1

Card sample

#cffc1d text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cffc1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cffc1d in the Color Lab