Skip to content

#afd449

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

RGB
175, 212, 73
HSL
76°, 62%, 56%
CMYK
18, 0, 66, 17
Luminance
0.5668

Every format

HEX#afd449
RGBrgb(175, 212, 73)
HSLhsl(76, 62%, 56%)
CMYKcmyk(18%, 0%, 66%, 17%)
LABlab(80.0 -31.7 62.2)
LCHlch(80.0 69.8 117.0)
OKLCHoklch(0.817 0.168 123.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd449 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#afd449 on black: 12.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green83.1%
Blue28.6%

CMYK percentages

Cyan17.5%
Magenta0.0%
Yellow65.6%
Key (black)16.9%

Color previews

#afd449 text on a black background

contrast 12.34:1

Card sample

#afd449 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd449

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd449 in the Color Lab