Skip to content

#809e21

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

RGB
128, 158, 33
HSL
74°, 65%, 38%
CMYK
19, 0, 79, 38
Luminance
0.2915

Every format

HEX#809e21
RGBrgb(128, 158, 33)
HSLhsl(74, 65%, 38%)
CMYKcmyk(19%, 0%, 79%, 38%)
LABlab(60.9 -27.3 56.8)
LCHlch(60.9 63.0 115.7)
OKLCHoklch(0.654 0.148 122.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#809e21 on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#809e21 on black: 6.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green62.0%
Blue12.9%

CMYK percentages

Cyan19.0%
Magenta0.0%
Yellow79.1%
Key (black)38.0%

Color previews

#809e21 text on a black background

contrast 6.83:1

Card sample

#809e21 text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #809e21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #809e21 in the Color Lab