Skip to content

#ccef1f

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

RGB
204, 239, 31
HSL
70°, 87%, 53%
CMYK
15, 0, 87, 6
Luminance
0.7467

Every format

HEX#ccef1f
RGBrgb(204, 239, 31)
HSLhsl(70, 87%, 53%)
CMYKcmyk(15%, 0%, 87%, 6%)
LABlab(89.2 -34.4 83.6)
LCHlch(89.2 90.4 112.4)
OKLCHoklch(0.895 0.207 120.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccef1f on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#ccef1f on black: 15.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green93.7%
Blue12.2%

CMYK percentages

Cyan14.6%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#ccef1f text on a black background

contrast 15.93:1

Card sample

#ccef1f text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 239, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 239, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccef1f;
background: linear-gradient(135deg, #ccef1f, #41EF1F);

Monochromatic scale

Palettes built from #ccef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccef1f in the Color Lab