Skip to content

#4def2c

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

RGB
77, 239, 44
HSL
110°, 86%, 56%
CMYK
68, 0, 82, 6
Luminance
0.6349

Every format

HEX#4def2c
RGBrgb(77, 239, 44)
HSLhsl(110, 86%, 56%)
CMYKcmyk(68%, 0%, 82%, 6%)
LABlab(83.7 -73.5 73.9)
LCHlch(83.7 104.2 134.9)
OKLCHoklch(0.835 0.259 140.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4def2c on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#4def2c on black: 13.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green93.7%
Blue17.3%

CMYK percentages

Cyan67.8%
Magenta0.0%
Yellow81.6%
Key (black)6.3%

Color previews

#4def2c text on a black background

contrast 13.70:1

Card sample

#4def2c text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(77, 239, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 239, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4def2c;
background: linear-gradient(135deg, #4def2c, #2CEF8D);

Monochromatic scale

Palettes built from #4def2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4def2c in the Color Lab