Skip to content

#afeb80

a light, vivid green · cool · closest name: khaki

RGB
175, 235, 128
HSL
94°, 73%, 71%
CMYK
26, 0, 46, 8
Luminance
0.7009

Every format

HEX#afeb80
RGBrgb(175, 235, 128)
HSLhsl(94, 73%, 71%)
CMYKcmyk(26%, 0%, 46%, 8%)
LABlab(87.0 -37.1 45.7)
LCHlch(87.0 58.9 129.0)
OKLCHoklch(0.875 0.151 132.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green92.2%
Blue50.2%

CMYK percentages

Cyan25.5%
Magenta0.0%
Yellow45.5%
Key (black)7.8%

Color previews

#afeb80 text on a black background

contrast 15.02:1

Card sample

#afeb80 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afeb80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afeb80 in the Color Lab