Skip to content

#afdf75

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

RGB
175, 223, 117
HSL
87°, 62%, 67%
CMYK
22, 0, 48, 13
Luminance
0.6317

Every format

HEX#afdf75
RGBrgb(175, 223, 117)
HSLhsl(87, 62%, 67%)
CMYKcmyk(22%, 0%, 48%, 13%)
LABlab(83.5 -32.9 46.7)
LCHlch(83.5 57.1 125.1)
OKLCHoklch(0.847 0.145 129.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdf75 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#afdf75 on black: 13.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green87.5%
Blue45.9%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow47.5%
Key (black)12.5%

Color previews

#afdf75 text on a black background

contrast 13.63:1

Card sample

#afdf75 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 223, 117, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 223, 117, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdf75;
background: linear-gradient(135deg, #afdf75, #75DF82);

Monochromatic scale

Palettes built from #afdf75

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdf75 in the Color Lab