Skip to content

#aefc2f

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

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

Every format

HEX#aefc2f
RGBrgb(174, 252, 47)
HSLhsl(83, 97%, 59%)
CMYKcmyk(31%, 0%, 81%, 1%)
LABlab(91.2 -50.9 81.2)
LCHlch(91.2 95.8 122.1)
OKLCHoklch(0.907 0.230 129.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.2%
Green98.8%
Blue18.4%

CMYK percentages

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

Color previews

#aefc2f text on a black background

contrast 16.76:1

Card sample

#aefc2f text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aefc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aefc2f in the Color Lab