Skip to content

#c7fc21

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

RGB
199, 252, 33
HSL
75°, 97%, 56%
CMYK
21, 0, 87, 1
Luminance
0.8187

Every format

HEX#c7fc21
RGBrgb(199, 252, 33)
HSLhsl(75, 97%, 56%)
CMYKcmyk(21%, 0%, 87%, 1%)
LABlab(92.5 -42.1 85.8)
LCHlch(92.5 95.6 116.1)
OKLCHoklch(0.921 0.222 123.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red78.0%
Green98.8%
Blue12.9%

CMYK percentages

Cyan21.0%
Magenta0.0%
Yellow86.9%
Key (black)1.2%

Color previews

#c7fc21 text on a black background

contrast 17.37:1

Card sample

#c7fc21 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(199, 252, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 252, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7fc21;
background: linear-gradient(135deg, #c7fc21, #35FC21);

Monochromatic scale

Palettes built from #c7fc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7fc21 in the Color Lab