Skip to content

#afd030

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

RGB
175, 208, 48
HSL
72°, 63%, 50%
CMYK
16, 0, 77, 18
Luminance
0.5444

Every format

HEX#afd030
RGBrgb(175, 208, 48)
HSLhsl(72, 63%, 50%)
CMYKcmyk(16%, 0%, 77%, 18%)
LABlab(78.7 -31.2 69.7)
LCHlch(78.7 76.4 114.1)
OKLCHoklch(0.806 0.179 121.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd030 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#afd030 on black: 11.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green81.6%
Blue18.8%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow76.9%
Key (black)18.4%

Color previews

#afd030 text on a black background

contrast 11.89:1

Card sample

#afd030 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd030

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd030 in the Color Lab