Skip to content

#afeb78

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

RGB
175, 235, 120
HSL
91°, 74%, 70%
CMYK
26, 0, 49, 8
Luminance
0.6989

Every format

HEX#afeb78
RGBrgb(175, 235, 120)
HSLhsl(91, 74%, 70%)
CMYKcmyk(26%, 0%, 49%, 8%)
LABlab(86.9 -38.0 49.4)
LCHlch(86.9 62.4 127.6)
OKLCHoklch(0.874 0.159 131.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green92.2%
Blue47.1%

CMYK percentages

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

Color previews

#afeb78 text on a black background

contrast 14.98:1

Card sample

#afeb78 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afeb78

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afeb78 in the Color Lab