Skip to content

#adef51

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

RGB
173, 239, 81
HSL
85°, 83%, 63%
CMYK
28, 0, 66, 6
Luminance
0.7121

Every format

HEX#adef51
RGBrgb(173, 239, 81)
HSLhsl(85, 83%, 63%)
CMYKcmyk(28%, 0%, 66%, 6%)
LABlab(87.6 -44.0 67.0)
LCHlch(87.6 80.2 123.3)
OKLCHoklch(0.878 0.197 129.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adef51 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#adef51 on black: 15.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green93.7%
Blue31.8%

CMYK percentages

Cyan27.6%
Magenta0.0%
Yellow66.1%
Key (black)6.3%

Color previews

#adef51 text on a black background

contrast 15.24:1

Card sample

#adef51 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 239, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 239, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #adef51;
background: linear-gradient(135deg, #adef51, #51EF5E);

Monochromatic scale

Palettes built from #adef51

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adef51 in the Color Lab