Skip to content

#548f39

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

RGB
84, 143, 57
HSL
101°, 43%, 39%
CMYK
41, 0, 60, 44
Luminance
0.2183

Every format

HEX#548f39
RGBrgb(84, 143, 57)
HSLhsl(101, 43%, 39%)
CMYKcmyk(41%, 0%, 60%, 44%)
LABlab(53.8 -35.6 39.0)
LCHlch(53.8 52.9 132.4)
OKLCHoklch(0.590 0.134 137.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#548f39 on white: 3.91:1
AA ✗ fail · AA-large · AAA
Aa
#548f39 on black: 5.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.9%
Green56.1%
Blue22.4%

CMYK percentages

Cyan41.3%
Magenta0.0%
Yellow60.1%
Key (black)43.9%

Color previews

#548f39 text on a black background

contrast 5.37:1

Card sample

#548f39 text on a white background

contrast 3.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(84, 143, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 143, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #548f39;
background: linear-gradient(135deg, #548f39, #398F57);

Monochromatic scale

Palettes built from #548f39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #548f39 in the Color Lab