Skip to content

#afad3d

a balanced, vivid yellow · cool · closest name: olive

RGB
175, 173, 61
HSL
59°, 48%, 46%
CMYK
0, 1, 65, 31
Luminance
0.3934

Every format

HEX#afad3d
RGBrgb(175, 173, 61)
HSLhsl(59, 48%, 46%)
CMYKcmyk(0%, 1%, 65%, 31%)
LABlab(69.0 -13.3 55.6)
LCHlch(69.0 57.1 103.4)
OKLCHoklch(0.728 0.132 108.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afad3d on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#afad3d on black: 8.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.8%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta1.1%
Yellow65.1%
Key (black)31.4%

Color previews

#afad3d text on a black background

contrast 8.87:1

Card sample

#afad3d text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 173, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 173, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afad3d;
background: linear-gradient(135deg, #afad3d, #65AF3D);

Monochromatic scale

Palettes built from #afad3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afad3d in the Color Lab