Skip to content

#afda3a

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

RGB
175, 218, 58
HSL
76°, 68%, 54%
CMYK
20, 0, 73, 15
Luminance
0.5956

Every format

HEX#afda3a
RGBrgb(175, 218, 58)
HSLhsl(76, 68%, 54%)
CMYKcmyk(20%, 0%, 73%, 15%)
LABlab(81.6 -35.3 69.3)
LCHlch(81.6 77.8 117.0)
OKLCHoklch(0.829 0.185 123.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.5%
Blue22.7%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow73.4%
Key (black)14.5%

Color previews

#afda3a text on a black background

contrast 12.91:1

Card sample

#afda3a text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afda3a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda3a in the Color Lab