Skip to content

#afdf3e

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

RGB
175, 223, 62
HSL
78°, 72%, 56%
CMYK
22, 0, 72, 13
Luminance
0.6224

Every format

HEX#afdf3e
RGBrgb(175, 223, 62)
HSLhsl(78, 72%, 56%)
CMYKcmyk(22%, 0%, 72%, 13%)
LABlab(83.0 -37.4 69.3)
LCHlch(83.0 78.8 118.3)
OKLCHoklch(0.841 0.189 125.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdf3e on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#afdf3e on black: 13.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green87.5%
Blue24.3%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow72.2%
Key (black)12.5%

Color previews

#afdf3e text on a black background

contrast 13.45:1

Card sample

#afdf3e text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdf3e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdf3e in the Color Lab