Skip to content

#af992d

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

RGB
175, 153, 45
HSL
50°, 59%, 43%
CMYK
0, 13, 74, 31
Luminance
0.3209

Every format

HEX#af992d
RGBrgb(175, 153, 45)
HSLhsl(50, 59%, 43%)
CMYKcmyk(0%, 13%, 74%, 31%)
LABlab(63.4 -3.6 56.4)
LCHlch(63.4 56.5 93.7)
OKLCHoklch(0.683 0.125 97.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af992d on white: 2.83:1
AA ✗ fail · AA-large · AAA
Aa
#af992d on black: 7.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green60.0%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta12.6%
Yellow74.3%
Key (black)31.4%

Color previews

#af992d text on a black background

contrast 7.42:1

Card sample

#af992d text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 153, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 153, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af992d;
background: linear-gradient(135deg, #af992d, #6EAF2D);

Monochromatic scale

Palettes built from #af992d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af992d in the Color Lab