Skip to content

#afd565

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

RGB
175, 213, 101
HSL
80°, 57%, 62%
CMYK
18, 0, 53, 17
Luminance
0.5764

Every format

HEX#afd565
RGBrgb(175, 213, 101)
HSLhsl(80, 57%, 62%)
CMYKcmyk(18%, 0%, 53%, 17%)
LABlab(80.5 -29.9 50.7)
LCHlch(80.5 58.8 120.5)
OKLCHoklch(0.822 0.146 125.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd565 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#afd565 on black: 12.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green83.5%
Blue39.6%

CMYK percentages

Cyan17.8%
Magenta0.0%
Yellow52.6%
Key (black)16.5%

Color previews

#afd565 text on a black background

contrast 12.53:1

Card sample

#afd565 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 213, 101, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 213, 101, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd565;
background: linear-gradient(135deg, #afd565, #65D566);

Monochromatic scale

Palettes built from #afd565

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd565 in the Color Lab