Skip to content

#806c21

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

RGB
128, 108, 33
HSL
47°, 59%, 32%
CMYK
0, 16, 74, 50
Luminance
0.1542

Every format

HEX#806c21
RGBrgb(128, 108, 33)
HSLhsl(47, 59%, 32%)
CMYKcmyk(0%, 16%, 74%, 50%)
LABlab(46.2 -0.7 42.8)
LCHlch(46.2 42.8 91.0)
OKLCHoklch(0.536 0.095 93.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#806c21 on white: 5.14:1
AA ✓ pass · AA-large · AAA
Aa
#806c21 on black: 4.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green42.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta15.6%
Yellow74.2%
Key (black)49.8%

Color previews

#806c21 text on a black background

contrast 4.08:1

Card sample

#806c21 text on a white background

contrast 5.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #806c21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #806c21 in the Color Lab