Skip to content

#afdf93

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

RGB
175, 223, 147
HSL
98°, 54%, 73%
CMYK
22, 0, 34, 13
Luminance
0.6400

Every format

HEX#afdf93
RGBrgb(175, 223, 147)
HSLhsl(98, 54%, 73%)
CMYKcmyk(22%, 0%, 34%, 13%)
LABlab(84.0 -29.1 32.3)
LCHlch(84.0 43.5 131.9)
OKLCHoklch(0.852 0.113 134.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdf93 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#afdf93 on black: 13.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green87.5%
Blue57.6%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow34.1%
Key (black)12.5%

Color previews

#afdf93 text on a black background

contrast 13.80:1

Card sample

#afdf93 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 223, 147, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 223, 147, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdf93;
background: linear-gradient(135deg, #afdf93, #93DFAA);

Monochromatic scale

Palettes built from #afdf93

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdf93 in the Color Lab