Skip to content

#afda73

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

RGB
175, 218, 115
HSL
85°, 58%, 65%
CMYK
20, 0, 47, 15
Luminance
0.6049

Every format

HEX#afda73
RGBrgb(175, 218, 115)
HSLhsl(85, 58%, 65%)
CMYKcmyk(20%, 0%, 47%, 15%)
LABlab(82.1 -30.8 45.9)
LCHlch(82.1 55.3 123.8)
OKLCHoklch(0.835 0.140 127.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.5%
Blue45.1%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow47.2%
Key (black)14.5%

Color previews

#afda73 text on a black background

contrast 13.10:1

Card sample

#afda73 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afda73

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda73 in the Color Lab