Skip to content

#4def2d

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

RGB
77, 239, 45
HSL
110°, 86%, 56%
CMYK
68, 0, 81, 6
Luminance
0.6350

Every format

HEX#4def2d
RGBrgb(77, 239, 45)
HSLhsl(110, 86%, 56%)
CMYKcmyk(68%, 0%, 81%, 6%)
LABlab(83.7 -73.4 73.6)
LCHlch(83.7 104.0 134.9)
OKLCHoklch(0.836 0.259 141.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red30.2%
Green93.7%
Blue17.6%

CMYK percentages

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

Color previews

#4def2d text on a black background

contrast 13.70:1

Card sample

#4def2d text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4def2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4def2d in the Color Lab