Skip to content

#afeb32

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

RGB
175, 235, 50
HSL
80°, 82%, 56%
CMYK
26, 0, 79, 8
Luminance
0.6876

Every format

HEX#afeb32
RGBrgb(175, 235, 50)
HSLhsl(80, 82%, 56%)
CMYKcmyk(26%, 0%, 79%, 8%)
LABlab(86.4 -43.2 76.2)
LCHlch(86.4 87.6 119.6)
OKLCHoklch(0.868 0.209 126.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afeb32 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#afeb32 on black: 14.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green92.2%
Blue19.6%

CMYK percentages

Cyan25.5%
Magenta0.0%
Yellow78.7%
Key (black)7.8%

Color previews

#afeb32 text on a black background

contrast 14.75:1

Card sample

#afeb32 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 235, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 235, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afeb32;
background: linear-gradient(135deg, #afeb32, #34EB32);

Monochromatic scale

Palettes built from #afeb32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afeb32 in the Color Lab