Skip to content

#afd464

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

RGB
175, 212, 100
HSL
80°, 57%, 61%
CMYK
18, 0, 53, 17
Luminance
0.5712

Every format

HEX#afd464
RGBrgb(175, 212, 100)
HSLhsl(80, 57%, 61%)
CMYKcmyk(18%, 0%, 53%, 17%)
LABlab(80.3 -29.5 50.8)
LCHlch(80.3 58.7 120.1)
OKLCHoklch(0.820 0.146 124.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green83.1%
Blue39.2%

CMYK percentages

Cyan17.5%
Magenta0.0%
Yellow52.8%
Key (black)16.9%

Color previews

#afd464 text on a black background

contrast 12.42:1

Card sample

#afd464 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd464

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd464 in the Color Lab