Skip to content

#809d21

a dark, vivid green · cool · closest name: olivedrab

RGB
128, 157, 33
HSL
74°, 65%, 37%
CMYK
19, 0, 79, 38
Luminance
0.2881

Every format

HEX#809d21
RGBrgb(128, 157, 33)
HSLhsl(74, 65%, 37%)
CMYKcmyk(19%, 0%, 79%, 38%)
LABlab(60.6 -26.9 56.5)
LCHlch(60.6 62.5 115.4)
OKLCHoklch(0.651 0.147 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#809d21 on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#809d21 on black: 6.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green61.6%
Blue12.9%

CMYK percentages

Cyan18.5%
Magenta0.0%
Yellow79.0%
Key (black)38.4%

Color previews

#809d21 text on a black background

contrast 6.76:1

Card sample

#809d21 text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #809d21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #809d21 in the Color Lab