Skip to content

#c7ef1e

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

RGB
199, 239, 30
HSL
72°, 87%, 53%
CMYK
17, 0, 87, 6
Luminance
0.7397

Every format

HEX#c7ef1e
RGBrgb(199, 239, 30)
HSLhsl(72, 87%, 53%)
CMYKcmyk(17%, 0%, 87%, 6%)
LABlab(88.9 -36.4 83.3)
LCHlch(88.9 91.0 113.6)
OKLCHoklch(0.892 0.209 121.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red78.0%
Green93.7%
Blue11.8%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow87.4%
Key (black)6.3%

Color previews

#c7ef1e text on a black background

contrast 15.79:1

Card sample

#c7ef1e text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c7ef1e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7ef1e in the Color Lab