Skip to content

#afda68

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

RGB
175, 218, 104
HSL
83°, 61%, 63%
CMYK
20, 0, 52, 15
Luminance
0.6026

Every format

HEX#afda68
RGBrgb(175, 218, 104)
HSLhsl(83, 61%, 63%)
CMYKcmyk(20%, 0%, 52%, 15%)
LABlab(82.0 -31.9 51.0)
LCHlch(82.0 60.1 122.0)
OKLCHoklch(0.834 0.150 126.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afda68 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#afda68 on black: 13.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.5%
Blue40.8%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow52.3%
Key (black)14.5%

Color previews

#afda68 text on a black background

contrast 13.05:1

Card sample

#afda68 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 218, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 218, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afda68;
background: linear-gradient(135deg, #afda68, #68DA6D);

Monochromatic scale

Palettes built from #afda68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda68 in the Color Lab