Skip to content

#afd467

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

RGB
175, 212, 103
HSL
80°, 56%, 62%
CMYK
18, 0, 51, 17
Luminance
0.5718

Every format

HEX#afd467
RGBrgb(175, 212, 103)
HSLhsl(80, 56%, 62%)
CMYKcmyk(18%, 0%, 51%, 17%)
LABlab(80.3 -29.2 49.4)
LCHlch(80.3 57.4 120.6)
OKLCHoklch(0.820 0.143 125.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green83.1%
Blue40.4%

CMYK percentages

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

Color previews

#afd467 text on a black background

contrast 12.44:1

Card sample

#afd467 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd467

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd467 in the Color Lab