Skip to content

#afab65

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

RGB
175, 171, 101
HSL
57°, 32%, 54%
CMYK
0, 2, 42, 31
Luminance
0.3918

Every format

HEX#afab65
RGBrgb(175, 171, 101)
HSLhsl(57, 32%, 54%)
CMYKcmyk(0%, 2%, 42%, 31%)
LABlab(68.9 -8.9 36.5)
LCHlch(68.9 37.5 103.7)
OKLCHoklch(0.729 0.092 105.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afab65 on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#afab65 on black: 8.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.1%
Blue39.6%

CMYK percentages

Cyan0.0%
Magenta2.3%
Yellow42.3%
Key (black)31.4%

Color previews

#afab65 text on a black background

contrast 8.84:1

Card sample

#afab65 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afab65

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afab65 in the Color Lab