Skip to content

#548c29

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

RGB
84, 140, 41
HSL
94°, 55%, 36%
CMYK
40, 0, 71, 45
Luminance
0.2080

Every format

HEX#548c29
RGBrgb(84, 140, 41)
HSLhsl(94, 55%, 36%)
CMYKcmyk(40%, 0%, 71%, 45%)
LABlab(52.7 -35.8 45.0)
LCHlch(52.7 57.5 128.5)
OKLCHoklch(0.581 0.143 134.4)

Copy-ready code

/* CSS */
color: #548c29;
background-color: #548c29;
/* Tailwind (arbitrary) */
class="text-[#548c29] bg-[#548c29]"
/* SCSS */
$brand: #548c29;
/* SwiftUI */
Color(red: 0.329, green: 0.549, blue: 0.161)
/* Android */
Color.parseColor("#548c29")

Accessibility — WCAG contrast

Aa
#548c29 on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#548c29 on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.9%
Green54.9%
Blue16.1%

CMYK percentages

Cyan40.0%
Magenta0.0%
Yellow70.7%
Key (black)45.1%

Color previews

#548c29 text on a black background

contrast 5.16:1

Card sample

#548c29 text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(84, 140, 41, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 140, 41, 0.45);
Border & gradient
Gradient panel
border: 3px solid #548c29;
background: linear-gradient(135deg, #548c29, #298C40);

Monochromatic scale

Palettes built from #548c29

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #548c29 in the Color Lab