Skip to content

#afd658

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

RGB
175, 214, 88
HSL
79°, 61%, 59%
CMYK
18, 0, 59, 16
Luminance
0.5791

Every format

HEX#afd658
RGBrgb(175, 214, 88)
HSLhsl(79, 61%, 59%)
CMYKcmyk(18%, 0%, 59%, 16%)
LABlab(80.7 -31.5 56.7)
LCHlch(80.7 64.8 119.0)
OKLCHoklch(0.823 0.159 124.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd658 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#afd658 on black: 12.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green83.9%
Blue34.5%

CMYK percentages

Cyan18.2%
Magenta0.0%
Yellow58.9%
Key (black)16.1%

Color previews

#afd658 text on a black background

contrast 12.58:1

Card sample

#afd658 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 214, 88, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 214, 88, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd658;
background: linear-gradient(135deg, #afd658, #5BD658);

Monochromatic scale

Palettes built from #afd658

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd658 in the Color Lab