Skip to content

#afeb45

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

RGB
175, 235, 69
HSL
82°, 81%, 60%
CMYK
26, 0, 71, 8
Luminance
0.6896

Every format

HEX#afeb45
RGBrgb(175, 235, 69)
HSLhsl(82, 81%, 60%)
CMYKcmyk(26%, 0%, 71%, 8%)
LABlab(86.5 -42.3 70.3)
LCHlch(86.5 82.0 121.0)
OKLCHoklch(0.869 0.199 127.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green92.2%
Blue27.1%

CMYK percentages

Cyan25.5%
Magenta0.0%
Yellow70.6%
Key (black)7.8%

Color previews

#afeb45 text on a black background

contrast 14.79:1

Card sample

#afeb45 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afeb45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afeb45 in the Color Lab