Skip to content

#afda59

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

RGB
175, 218, 89
HSL
80°, 64%, 60%
CMYK
20, 0, 59, 15
Luminance
0.5998

Every format

HEX#afda59
RGBrgb(175, 218, 89)
HSLhsl(80, 64%, 60%)
CMYKcmyk(20%, 0%, 59%, 15%)
LABlab(81.8 -33.3 57.5)
LCHlch(81.8 66.5 120.0)
OKLCHoklch(0.832 0.164 125.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afda59 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#afda59 on black: 13.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.5%
Blue34.9%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow59.2%
Key (black)14.5%

Color previews

#afda59 text on a black background

contrast 13.00:1

Card sample

#afda59 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afda59

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda59 in the Color Lab