Skip to content

#afeb49

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

RGB
175, 235, 73
HSL
82°, 80%, 60%
CMYK
26, 0, 69, 8
Luminance
0.6901

Every format

HEX#afeb49
RGBrgb(175, 235, 73)
HSLhsl(82, 80%, 60%)
CMYKcmyk(26%, 0%, 69%, 8%)
LABlab(86.5 -42.0 68.9)
LCHlch(86.5 80.7 121.4)
OKLCHoklch(0.869 0.196 127.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green92.2%
Blue28.6%

CMYK percentages

Cyan25.5%
Magenta0.0%
Yellow68.9%
Key (black)7.8%

Color previews

#afeb49 text on a black background

contrast 14.80:1

Card sample

#afeb49 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afeb49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afeb49 in the Color Lab