Skip to content

#adef02

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

RGB
173, 239, 2
HSL
77°, 98%, 47%
CMYK
28, 0, 99, 6
Luminance
0.7062

Every format

HEX#adef02
RGBrgb(173, 239, 2)
HSLhsl(77, 98%, 47%)
CMYKcmyk(28%, 0%, 99%, 6%)
LABlab(87.3 -46.8 84.5)
LCHlch(87.3 96.6 119.0)
OKLCHoklch(0.875 0.226 127.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adef02 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#adef02 on black: 15.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green93.7%
Blue0.8%

CMYK percentages

Cyan27.6%
Magenta0.0%
Yellow99.2%
Key (black)6.3%

Color previews

#adef02 text on a black background

contrast 15.12:1

Card sample

#adef02 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adef02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adef02 in the Color Lab