Skip to content

#c0e921

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

RGB
192, 233, 33
HSL
72°, 82%, 52%
CMYK
18, 0, 86, 9
Luminance
0.6959

Every format

HEX#c0e921
RGBrgb(192, 233, 33)
HSLhsl(72, 82%, 52%)
CMYKcmyk(18%, 0%, 86%, 9%)
LABlab(86.8 -36.4 80.9)
LCHlch(86.8 88.7 114.2)
OKLCHoklch(0.874 0.205 121.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0e921 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#c0e921 on black: 14.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green91.4%
Blue12.9%

CMYK percentages

Cyan17.6%
Magenta0.0%
Yellow85.8%
Key (black)8.6%

Color previews

#c0e921 text on a black background

contrast 14.92:1

Card sample

#c0e921 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0e921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0e921 in the Color Lab