Skip to content

#afda91

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

RGB
175, 218, 145
HSL
95°, 50%, 71%
CMYK
20, 0, 34, 15
Luminance
0.6130

Every format

HEX#afda91
RGBrgb(175, 218, 145)
HSLhsl(95, 50%, 71%)
CMYKcmyk(20%, 0%, 34%, 15%)
LABlab(82.5 -26.9 31.5)
LCHlch(82.5 41.4 130.6)
OKLCHoklch(0.840 0.107 133.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afda91 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#afda91 on black: 13.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.5%
Blue56.9%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow33.5%
Key (black)14.5%

Color previews

#afda91 text on a black background

contrast 13.26:1

Card sample

#afda91 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 218, 145, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 218, 145, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afda91;
background: linear-gradient(135deg, #afda91, #91DAA4);

Monochromatic scale

Palettes built from #afda91

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda91 in the Color Lab