Skip to content

#aef02c

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

RGB
174, 240, 44
HSL
80°, 87%, 56%
CMYK
28, 0, 82, 6
Luminance
0.7150

Every format

HEX#aef02c
RGBrgb(174, 240, 44)
HSLhsl(80, 87%, 56%)
CMYKcmyk(28%, 0%, 82%, 6%)
LABlab(87.7 -46.0 78.9)
LCHlch(87.7 91.3 120.2)
OKLCHoklch(0.879 0.217 127.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aef02c on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#aef02c on black: 15.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green94.1%
Blue17.3%

CMYK percentages

Cyan27.5%
Magenta0.0%
Yellow81.7%
Key (black)5.9%

Color previews

#aef02c text on a black background

contrast 15.30:1

Card sample

#aef02c text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aef02c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aef02c in the Color Lab