Skip to content

#aefc2c

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

RGB
174, 252, 44
HSL
83°, 97%, 58%
CMYK
31, 0, 83, 1
Luminance
0.7880

Every format

HEX#aefc2c
RGBrgb(174, 252, 44)
HSLhsl(83, 97%, 58%)
CMYKcmyk(31%, 0%, 83%, 1%)
LABlab(91.1 -51.0 81.9)
LCHlch(91.1 96.5 121.9)
OKLCHoklch(0.906 0.231 129.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.2%
Green98.8%
Blue17.3%

CMYK percentages

Cyan31.0%
Magenta0.0%
Yellow82.5%
Key (black)1.2%

Color previews

#aefc2c text on a black background

contrast 16.76:1

Card sample

#aefc2c text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aefc2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aefc2c in the Color Lab