Skip to content

#877921

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

RGB
135, 121, 33
HSL
52°, 61%, 33%
CMYK
0, 10, 76, 47
Luminance
0.1894

Every format

HEX#877921
RGBrgb(135, 121, 33)
HSLhsl(52, 61%, 33%)
CMYKcmyk(0%, 10%, 76%, 47%)
LABlab(50.6 -4.8 47.3)
LCHlch(50.6 47.6 95.8)
OKLCHoklch(0.573 0.106 99.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#877921 on white: 4.39:1
AA ✗ fail · AA-large · AAA
Aa
#877921 on black: 4.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red52.9%
Green47.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta10.4%
Yellow75.6%
Key (black)47.1%

Color previews

#877921 text on a black background

contrast 4.79:1

Card sample

#877921 text on a white background

contrast 4.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #877921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #877921 in the Color Lab