Skip to content

#afd044

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

RGB
175, 208, 68
HSL
74°, 60%, 54%
CMYK
16, 0, 67, 18
Luminance
0.5464

Every format

HEX#afd044
RGBrgb(175, 208, 68)
HSLhsl(74, 60%, 54%)
CMYKcmyk(16%, 0%, 67%, 18%)
LABlab(78.8 -30.1 63.0)
LCHlch(78.8 69.8 115.6)
OKLCHoklch(0.807 0.167 121.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd044 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#afd044 on black: 11.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green81.6%
Blue26.7%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow67.3%
Key (black)18.4%

Color previews

#afd044 text on a black background

contrast 11.93:1

Card sample

#afd044 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd044

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd044 in the Color Lab