Skip to content

#afda70

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

RGB
175, 218, 112
HSL
84°, 59%, 65%
CMYK
20, 0, 49, 15
Luminance
0.6043

Every format

HEX#afda70
RGBrgb(175, 218, 112)
HSLhsl(84, 59%, 65%)
CMYKcmyk(20%, 0%, 49%, 15%)
LABlab(82.1 -31.1 47.3)
LCHlch(82.1 56.6 123.3)
OKLCHoklch(0.835 0.142 127.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afda70 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#afda70 on black: 13.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.5%
Blue43.9%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow48.6%
Key (black)14.5%

Color previews

#afda70 text on a black background

contrast 13.09:1

Card sample

#afda70 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afda70

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda70 in the Color Lab