Skip to content

#c5ef21

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

RGB
197, 239, 33
HSL
72°, 87%, 53%
CMYK
18, 0, 86, 6
Luminance
0.7371

Every format

HEX#c5ef21
RGBrgb(197, 239, 33)
HSLhsl(72, 87%, 53%)
CMYKcmyk(18%, 0%, 86%, 6%)
LABlab(88.8 -37.1 82.7)
LCHlch(88.8 90.6 114.2)
OKLCHoklch(0.891 0.209 121.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c5ef21 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#c5ef21 on black: 15.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green93.7%
Blue12.9%

CMYK percentages

Cyan17.6%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#c5ef21 text on a black background

contrast 15.74:1

Card sample

#c5ef21 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c5ef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c5ef21 in the Color Lab