Skip to content

#afed2c

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

RGB
175, 237, 44
HSL
79°, 84%, 55%
CMYK
26, 0, 81, 7
Luminance
0.6986

Every format

HEX#afed2c
RGBrgb(175, 237, 44)
HSLhsl(79, 84%, 55%)
CMYKcmyk(26%, 0%, 81%, 7%)
LABlab(86.9 -44.3 78.2)
LCHlch(86.9 89.9 119.6)
OKLCHoklch(0.872 0.213 127.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afed2c on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#afed2c on black: 14.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green92.9%
Blue17.3%

CMYK percentages

Cyan26.2%
Magenta0.0%
Yellow81.4%
Key (black)7.1%

Color previews

#afed2c text on a black background

contrast 14.97:1

Card sample

#afed2c text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afed2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afed2c in the Color Lab