Skip to content

#adfc2f

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

RGB
173, 252, 47
HSL
83°, 97%, 59%
CMYK
31, 0, 81, 1
Luminance
0.7871

Every format

HEX#adfc2f
RGBrgb(173, 252, 47)
HSLhsl(83, 97%, 59%)
CMYKcmyk(31%, 0%, 81%, 1%)
LABlab(91.1 -51.3 81.1)
LCHlch(91.1 95.9 122.3)
OKLCHoklch(0.906 0.230 129.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adfc2f on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#adfc2f on black: 16.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green98.8%
Blue18.4%

CMYK percentages

Cyan31.3%
Magenta0.0%
Yellow81.3%
Key (black)1.2%

Color previews

#adfc2f text on a black background

contrast 16.74:1

Card sample

#adfc2f text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adfc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adfc2f in the Color Lab