Skip to content

#c0ec21

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

RGB
192, 236, 33
HSL
73°, 84%, 53%
CMYK
19, 0, 86, 8
Luminance
0.7131

Every format

HEX#c0ec21
RGBrgb(192, 236, 33)
HSLhsl(73, 84%, 53%)
CMYKcmyk(19%, 0%, 86%, 8%)
LABlab(87.6 -37.7 81.6)
LCHlch(87.6 89.9 114.8)
OKLCHoklch(0.881 0.208 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0ec21 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#c0ec21 on black: 15.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green92.5%
Blue12.9%

CMYK percentages

Cyan18.6%
Magenta0.0%
Yellow86.0%
Key (black)7.5%

Color previews

#c0ec21 text on a black background

contrast 15.26:1

Card sample

#c0ec21 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 236, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 236, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0ec21;
background: linear-gradient(135deg, #c0ec21, #39EC21);

Monochromatic scale

Palettes built from #c0ec21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0ec21 in the Color Lab