Skip to content

#afdb34

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

RGB
175, 219, 52
HSL
76°, 70%, 53%
CMYK
20, 0, 76, 14
Luminance
0.6002

Every format

HEX#afdb34
RGBrgb(175, 219, 52)
HSLhsl(76, 70%, 53%)
CMYKcmyk(20%, 0%, 76%, 14%)
LABlab(81.8 -36.1 71.4)
LCHlch(81.8 80.0 116.8)
OKLCHoklch(0.831 0.189 123.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.9%
Blue20.4%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow76.3%
Key (black)14.1%

Color previews

#afdb34 text on a black background

contrast 13.00:1

Card sample

#afdb34 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb34

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb34 in the Color Lab