Skip to content

#807821

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

RGB
128, 120, 33
HSL
55°, 59%, 32%
CMYK
0, 6, 74, 50
Luminance
0.1813

Every format

HEX#807821
RGBrgb(128, 120, 33)
HSLhsl(55, 59%, 32%)
CMYKcmyk(0%, 6%, 74%, 50%)
LABlab(49.7 -7.5 46.2)
LCHlch(49.7 46.8 99.3)
OKLCHoklch(0.563 0.105 104.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#807821 on white: 4.54:1
AA ✓ pass · AA-large · AAA
Aa
#807821 on black: 4.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green47.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow74.2%
Key (black)49.8%

Color previews

#807821 text on a black background

contrast 4.63:1

Card sample

#807821 text on a white background

contrast 4.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #807821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #807821 in the Color Lab