Skip to content

#508921

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

RGB
80, 137, 33
HSL
93°, 61%, 33%
CMYK
42, 0, 76, 46
Luminance
0.1971

Every format

HEX#508921
RGBrgb(80, 137, 33)
HSLhsl(93, 61%, 33%)
CMYKcmyk(42%, 0%, 76%, 46%)
LABlab(51.5 -36.5 46.8)
LCHlch(51.5 59.4 127.9)
OKLCHoklch(0.570 0.146 134.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#508921 on white: 4.25:1
AA ✗ fail · AA-large · AAA
Aa
#508921 on black: 4.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.4%
Green53.7%
Blue12.9%

CMYK percentages

Cyan41.6%
Magenta0.0%
Yellow75.9%
Key (black)46.3%

Color previews

#508921 text on a black background

contrast 4.94:1

Card sample

#508921 text on a white background

contrast 4.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #508921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #508921 in the Color Lab