Skip to content

#af9a39

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

RGB
175, 154, 57
HSL
49°, 51%, 46%
CMYK
0, 12, 67, 31
Luminance
0.3252

Every format

HEX#af9a39
RGBrgb(175, 154, 57)
HSLhsl(49, 51%, 46%)
CMYKcmyk(0%, 12%, 67%, 31%)
LABlab(63.8 -3.5 51.8)
LCHlch(63.8 52.0 93.9)
OKLCHoklch(0.686 0.118 96.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9a39 on white: 2.80:1
AA ✗ fail · AA-large · AAA
Aa
#af9a39 on black: 7.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green60.4%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta12.0%
Yellow67.4%
Key (black)31.4%

Color previews

#af9a39 text on a black background

contrast 7.50:1

Card sample

#af9a39 text on a white background

contrast 2.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 154, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 154, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af9a39;
background: linear-gradient(135deg, #af9a39, #75AF39);

Monochromatic scale

Palettes built from #af9a39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af9a39 in the Color Lab