Skip to content

#afad65

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

RGB
175, 173, 101
HSL
58°, 32%, 54%
CMYK
0, 1, 42, 31
Luminance
0.3994

Every format

HEX#afad65
RGBrgb(175, 173, 101)
HSLhsl(58, 32%, 54%)
CMYKcmyk(0%, 1%, 42%, 31%)
LABlab(69.4 -9.9 37.2)
LCHlch(69.4 38.5 105.0)
OKLCHoklch(0.733 0.094 107.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afad65 on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#afad65 on black: 8.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.8%
Blue39.6%

CMYK percentages

Cyan0.0%
Magenta1.1%
Yellow42.3%
Key (black)31.4%

Color previews

#afad65 text on a black background

contrast 8.99:1

Card sample

#afad65 text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afad65

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afad65 in the Color Lab