Skip to content

#ccfb39

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

RGB
204, 251, 57
HSL
75°, 96%, 60%
CMYK
19, 0, 77, 2
Luminance
0.8213

Every format

HEX#ccfb39
RGBrgb(204, 251, 57)
HSLhsl(75, 96%, 60%)
CMYKcmyk(19%, 0%, 77%, 2%)
LABlab(92.6 -39.0 80.5)
LCHlch(92.6 89.5 115.8)
OKLCHoklch(0.923 0.211 123.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccfb39 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ccfb39 on black: 17.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green98.4%
Blue22.4%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow77.3%
Key (black)1.6%

Color previews

#ccfb39 text on a black background

contrast 17.43:1

Card sample

#ccfb39 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 251, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 251, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccfb39;
background: linear-gradient(135deg, #ccfb39, #4BFB39);

Monochromatic scale

Palettes built from #ccfb39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccfb39 in the Color Lab