Skip to content

#adfa2f

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

RGB
173, 250, 47
HSL
83°, 95%, 58%
CMYK
31, 0, 81, 2
Luminance
0.7746

Every format

HEX#adfa2f
RGBrgb(173, 250, 47)
HSLhsl(83, 95%, 58%)
CMYKcmyk(31%, 0%, 81%, 2%)
LABlab(90.5 -50.4 80.6)
LCHlch(90.5 95.1 122.0)
OKLCHoklch(0.901 0.228 129.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adfa2f on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#adfa2f on black: 16.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan30.8%
Magenta0.0%
Yellow81.2%
Key (black)2.0%

Color previews

#adfa2f text on a black background

contrast 16.49:1

Card sample

#adfa2f text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adfa2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adfa2f in the Color Lab