Skip to content

#afdb58

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

RGB
175, 219, 88
HSL
80°, 65%, 60%
CMYK
20, 0, 60, 14
Luminance
0.6048

Every format

HEX#afdb58
RGBrgb(175, 219, 88)
HSLhsl(80, 65%, 60%)
CMYKcmyk(20%, 0%, 60%, 14%)
LABlab(82.1 -33.8 58.3)
LCHlch(82.1 67.4 120.1)
OKLCHoklch(0.834 0.166 125.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdb58 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#afdb58 on black: 13.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow59.8%
Key (black)14.1%

Color previews

#afdb58 text on a black background

contrast 13.10:1

Card sample

#afdb58 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb58

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb58 in the Color Lab