Skip to content

#afb65d

a balanced, soft yellow · cool · closest name: khaki

RGB
175, 182, 93
HSL
65°, 38%, 54%
CMYK
4, 0, 49, 29
Luminance
0.4336

Every format

HEX#afb65d
RGBrgb(175, 182, 93)
HSLhsl(65, 38%, 54%)
CMYKcmyk(4%, 0%, 49%, 29%)
LABlab(71.8 -15.4 44.1)
LCHlch(71.8 46.7 109.3)
OKLCHoklch(0.751 0.114 112.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb65d on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#afb65d on black: 9.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green71.4%
Blue36.5%

CMYK percentages

Cyan3.8%
Magenta0.0%
Yellow48.9%
Key (black)28.6%

Color previews

#afb65d text on a black background

contrast 9.67:1

Card sample

#afb65d text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 182, 93, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 182, 93, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb65d;
background: linear-gradient(135deg, #afb65d, #74B65D);

Monochromatic scale

Palettes built from #afb65d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb65d in the Color Lab