Skip to content

#ccff46

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

RGB
204, 255, 70
HSL
77°, 100%, 64%
CMYK
20, 0, 73, 0
Luminance
0.8480

Every format

HEX#ccff46
RGBrgb(204, 255, 70)
HSLhsl(77, 100%, 64%)
CMYKcmyk(20%, 0%, 73%, 0%)
LABlab(93.8 -40.2 77.7)
LCHlch(93.8 87.5 117.3)
OKLCHoklch(0.933 0.209 124.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green100.0%
Blue27.5%

CMYK percentages

Cyan20.0%
Magenta0.0%
Yellow72.5%
Key (black)0.0%

Color previews

#ccff46 text on a black background

contrast 17.96:1

Card sample

#ccff46 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 255, 70, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 255, 70, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccff46;
background: linear-gradient(135deg, #ccff46, #51FF46);

Monochromatic scale

Palettes built from #ccff46

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccff46 in the Color Lab