Skip to content

#afdb30

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

RGB
175, 219, 48
HSL
75°, 70%, 52%
CMYK
20, 0, 78, 14
Luminance
0.5999

Every format

HEX#afdb30
RGBrgb(175, 219, 48)
HSLhsl(75, 70%, 52%)
CMYKcmyk(20%, 0%, 78%, 14%)
LABlab(81.8 -36.2 72.6)
LCHlch(81.8 81.1 116.5)
OKLCHoklch(0.831 0.191 123.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.9%
Blue18.8%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow78.1%
Key (black)14.1%

Color previews

#afdb30 text on a black background

contrast 13.00:1

Card sample

#afdb30 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb30 in the Color Lab