Skip to content

#af992c

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

RGB
175, 153, 44
HSL
50°, 60%, 43%
CMYK
0, 13, 75, 31
Luminance
0.3208

Every format

HEX#af992c
RGBrgb(175, 153, 44)
HSLhsl(50, 60%, 43%)
CMYKcmyk(0%, 13%, 75%, 31%)
LABlab(63.4 -3.6 56.7)
LCHlch(63.4 56.8 93.7)
OKLCHoklch(0.683 0.126 97.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#af992c text on a black background

contrast 7.42:1

Card sample

#af992c text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af992c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af992c in the Color Lab