Skip to content

#a89c21

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

RGB
168, 156, 33
HSL
55°, 67%, 39%
CMYK
0, 7, 80, 34
Luminance
0.3221

Every format

HEX#a89c21
RGBrgb(168, 156, 33)
HSLhsl(55, 67%, 39%)
CMYKcmyk(0%, 7%, 80%, 34%)
LABlab(63.5 -8.8 60.3)
LCHlch(63.5 60.9 98.3)
OKLCHoklch(0.682 0.134 103.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a89c21 on white: 2.82:1
AA ✗ fail · AA-large · AAA
Aa
#a89c21 on black: 7.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.9%
Green61.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta7.1%
Yellow80.4%
Key (black)34.1%

Color previews

#a89c21 text on a black background

contrast 7.44:1

Card sample

#a89c21 text on a white background

contrast 2.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(168, 156, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 156, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a89c21;
background: linear-gradient(135deg, #a89c21, #5AA821);

Monochromatic scale

Palettes built from #a89c21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a89c21 in the Color Lab