Skip to content

#afab64

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

RGB
175, 171, 100
HSL
57°, 32%, 54%
CMYK
0, 2, 43, 31
Luminance
0.3916

Every format

HEX#afab64
RGBrgb(175, 171, 100)
HSLhsl(57, 32%, 54%)
CMYKcmyk(0%, 2%, 43%, 31%)
LABlab(68.9 -9.0 37.0)
LCHlch(68.9 38.1 103.7)
OKLCHoklch(0.729 0.093 105.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#afab64 text on a black background

contrast 8.83:1

Card sample

#afab64 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afab64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afab64 in the Color Lab