Skip to content

#809c0f

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

RGB
128, 156, 15
HSL
72°, 83%, 34%
CMYK
18, 0, 90, 39
Luminance
0.2840

Every format

HEX#809c0f
RGBrgb(128, 156, 15)
HSLhsl(72, 83%, 34%)
CMYKcmyk(18%, 0%, 90%, 39%)
LABlab(60.3 -27.0 60.6)
LCHlch(60.3 66.4 114.0)
OKLCHoklch(0.648 0.153 121.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#809c0f on white: 3.14:1
AA ✗ fail · AA-large · AAA
Aa
#809c0f on black: 6.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green61.2%
Blue5.9%

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow90.4%
Key (black)38.8%

Color previews

#809c0f text on a black background

contrast 6.68:1

Card sample

#809c0f text on a white background

contrast 3.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(128, 156, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 156, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #809c0f;
background: linear-gradient(135deg, #809c0f, #229C0F);

Monochromatic scale

Palettes built from #809c0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #809c0f in the Color Lab