Skip to content

#afdb68

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

RGB
175, 219, 104
HSL
83°, 62%, 63%
CMYK
20, 0, 53, 14
Luminance
0.6078

Every format

HEX#afdb68
RGBrgb(175, 219, 104)
HSLhsl(83, 62%, 63%)
CMYKcmyk(20%, 0%, 53%, 14%)
LABlab(82.3 -32.4 51.3)
LCHlch(82.3 60.6 122.2)
OKLCHoklch(0.836 0.152 126.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdb68 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#afdb68 on black: 13.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.9%
Blue40.8%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow52.5%
Key (black)14.1%

Color previews

#afdb68 text on a black background

contrast 13.16:1

Card sample

#afdb68 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb68 in the Color Lab