Skip to content

#afd550

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

RGB
175, 213, 80
HSL
77°, 61%, 58%
CMYK
18, 0, 62, 17
Luminance
0.5728

Every format

HEX#afd550
RGBrgb(175, 213, 80)
HSLhsl(77, 61%, 58%)
CMYKcmyk(18%, 0%, 62%, 17%)
LABlab(80.3 -31.6 59.7)
LCHlch(80.3 67.6 117.9)
OKLCHoklch(0.820 0.164 123.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd550 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#afd550 on black: 12.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green83.5%
Blue31.4%

CMYK percentages

Cyan17.8%
Magenta0.0%
Yellow62.4%
Key (black)16.5%

Color previews

#afd550 text on a black background

contrast 12.46:1

Card sample

#afd550 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 213, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 213, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd550;
background: linear-gradient(135deg, #afd550, #57D550);

Monochromatic scale

Palettes built from #afd550

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd550 in the Color Lab