Skip to content

#afdf3d

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

RGB
175, 223, 61
HSL
78°, 72%, 56%
CMYK
22, 0, 73, 13
Luminance
0.6223

Every format

HEX#afdf3d
RGBrgb(175, 223, 61)
HSLhsl(78, 72%, 56%)
CMYKcmyk(22%, 0%, 73%, 13%)
LABlab(83.0 -37.4 69.7)
LCHlch(83.0 79.1 118.3)
OKLCHoklch(0.841 0.189 125.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green87.5%
Blue23.9%

CMYK percentages

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

Color previews

#afdf3d text on a black background

contrast 13.45:1

Card sample

#afdf3d text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdf3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdf3d in the Color Lab