Skip to content

#afdb82

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

RGB
175, 219, 130
HSL
90°, 55%, 68%
CMYK
20, 0, 41, 14
Luminance
0.6139

Every format

HEX#afdb82
RGBrgb(175, 219, 130)
HSLhsl(90, 55%, 68%)
CMYKcmyk(20%, 0%, 41%, 14%)
LABlab(82.6 -29.4 39.1)
LCHlch(82.6 49.0 127.0)
OKLCHoklch(0.840 0.125 130.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.9%
Blue51.0%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow40.6%
Key (black)14.1%

Color previews

#afdb82 text on a black background

contrast 13.28:1

Card sample

#afdb82 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 219, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 219, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdb82;
background: linear-gradient(135deg, #afdb82, #82DB90);

Monochromatic scale

Palettes built from #afdb82

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb82 in the Color Lab