Skip to content

#afd496

a light, soft green · cool · closest name: khaki

RGB
175, 212, 150
HSL
96°, 42%, 71%
CMYK
18, 0, 29, 17
Luminance
0.5840

Every format

HEX#afd496
RGBrgb(175, 212, 150)
HSLhsl(96, 42%, 71%)
CMYKcmyk(18%, 0%, 29%, 17%)
LABlab(81.0 -23.3 26.8)
LCHlch(81.0 35.5 131.0)
OKLCHoklch(0.828 0.092 133.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd496 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#afd496 on black: 12.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green83.1%
Blue58.8%

CMYK percentages

Cyan17.5%
Magenta0.0%
Yellow29.2%
Key (black)16.9%

Color previews

#afd496 text on a black background

contrast 12.68:1

Card sample

#afd496 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd496

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd496 in the Color Lab