Skip to content

#adef31

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

RGB
173, 239, 49
HSL
81°, 86%, 57%
CMYK
28, 0, 80, 6
Luminance
0.7084

Every format

HEX#adef31
RGBrgb(173, 239, 49)
HSLhsl(81, 86%, 57%)
CMYKcmyk(28%, 0%, 80%, 6%)
LABlab(87.4 -45.7 77.3)
LCHlch(87.4 89.8 120.6)
OKLCHoklch(0.876 0.215 127.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.8%
Green93.7%
Blue19.2%

CMYK percentages

Cyan27.6%
Magenta0.0%
Yellow79.5%
Key (black)6.3%

Color previews

#adef31 text on a black background

contrast 15.17:1

Card sample

#adef31 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adef31

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adef31 in the Color Lab