Skip to content

#afec4d

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

RGB
175, 236, 77
HSL
83°, 81%, 61%
CMYK
26, 0, 67, 8
Luminance
0.6964

Every format

HEX#afec4d
RGBrgb(175, 236, 77)
HSLhsl(83, 81%, 61%)
CMYKcmyk(26%, 0%, 67%, 8%)
LABlab(86.8 -42.2 67.8)
LCHlch(86.8 79.8 121.9)
OKLCHoklch(0.872 0.195 128.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afec4d on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#afec4d on black: 14.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green92.5%
Blue30.2%

CMYK percentages

Cyan25.8%
Magenta0.0%
Yellow67.4%
Key (black)7.5%

Color previews

#afec4d text on a black background

contrast 14.93:1

Card sample

#afec4d text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 236, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 236, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afec4d;
background: linear-gradient(135deg, #afec4d, #4DEC55);

Monochromatic scale

Palettes built from #afec4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afec4d in the Color Lab