Skip to content

#afd466

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

RGB
175, 212, 102
HSL
80°, 56%, 62%
CMYK
18, 0, 52, 17
Luminance
0.5716

Every format

HEX#afd466
RGBrgb(175, 212, 102)
HSLhsl(80, 56%, 62%)
CMYKcmyk(18%, 0%, 52%, 17%)
LABlab(80.3 -29.3 49.9)
LCHlch(80.3 57.8 120.4)
OKLCHoklch(0.820 0.144 124.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green83.1%
Blue40.0%

CMYK percentages

Cyan17.5%
Magenta0.0%
Yellow51.9%
Key (black)16.9%

Color previews

#afd466 text on a black background

contrast 12.43:1

Card sample

#afd466 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd466

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd466 in the Color Lab