Skip to content

#afda32

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

RGB
175, 218, 50
HSL
75°, 69%, 53%
CMYK
20, 0, 77, 15
Luminance
0.5949

Every format

HEX#afda32
RGBrgb(175, 218, 50)
HSLhsl(75, 69%, 53%)
CMYKcmyk(20%, 0%, 77%, 15%)
LABlab(81.6 -35.7 71.7)
LCHlch(81.6 80.1 116.5)
OKLCHoklch(0.829 0.189 123.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.5%
Blue19.6%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow77.1%
Key (black)14.5%

Color previews

#afda32 text on a black background

contrast 12.90:1

Card sample

#afda32 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afda32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda32 in the Color Lab