Skip to content

#afda2c

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

RGB
175, 218, 44
HSL
75°, 70%, 51%
CMYK
20, 0, 80, 15
Luminance
0.5944

Every format

HEX#afda2c
RGBrgb(175, 218, 44)
HSLhsl(75, 70%, 51%)
CMYKcmyk(20%, 0%, 80%, 15%)
LABlab(81.5 -36.0 73.4)
LCHlch(81.5 81.7 116.1)
OKLCHoklch(0.829 0.192 123.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afda2c on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#afda2c on black: 12.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.5%
Blue17.3%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow79.8%
Key (black)14.5%

Color previews

#afda2c text on a black background

contrast 12.89:1

Card sample

#afda2c text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afda2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda2c in the Color Lab