Skip to content

#afd447

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

RGB
175, 212, 71
HSL
76°, 62%, 56%
CMYK
18, 0, 67, 17
Luminance
0.5666

Every format

HEX#afd447
RGBrgb(175, 212, 71)
HSLhsl(76, 62%, 56%)
CMYKcmyk(18%, 0%, 67%, 17%)
LABlab(80.0 -31.8 63.0)
LCHlch(80.0 70.6 116.8)
OKLCHoklch(0.817 0.170 122.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green83.1%
Blue27.8%

CMYK percentages

Cyan17.5%
Magenta0.0%
Yellow66.5%
Key (black)16.9%

Color previews

#afd447 text on a black background

contrast 12.33:1

Card sample

#afd447 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd447

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd447 in the Color Lab