Skip to content

#867921

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

RGB
134, 121, 33
HSL
52°, 61%, 33%
CMYK
0, 10, 75, 48
Luminance
0.1885

Every format

HEX#867921
RGBrgb(134, 121, 33)
HSLhsl(52, 61%, 33%)
CMYKcmyk(0%, 10%, 75%, 48%)
LABlab(50.5 -5.3 47.2)
LCHlch(50.5 47.5 96.4)
OKLCHoklch(0.572 0.106 100.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#867921 on white: 4.40:1
AA ✗ fail · AA-large · AAA
Aa
#867921 on black: 4.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow75.4%
Key (black)47.5%

Color previews

#867921 text on a black background

contrast 4.77:1

Card sample

#867921 text on a white background

contrast 4.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #867921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #867921 in the Color Lab