Skip to content

#548c01

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

RGB
84, 140, 1
HSL
84°, 99%, 28%
CMYK
40, 0, 99, 45
Luminance
0.2064

Every format

HEX#548c01
RGBrgb(84, 140, 1)
HSLhsl(84, 99%, 28%)
CMYKcmyk(40%, 0%, 99%, 45%)
LABlab(52.6 -37.6 55.7)
LCHlch(52.6 67.2 124.0)
OKLCHoklch(0.579 0.160 132.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#548c01 on white: 4.09:1
AA ✗ fail · AA-large · AAA
Aa
#548c01 on black: 5.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.9%
Green54.9%
Blue0.4%

CMYK percentages

Cyan40.0%
Magenta0.0%
Yellow99.3%
Key (black)45.1%

Color previews

#548c01 text on a black background

contrast 5.13:1

Card sample

#548c01 text on a white background

contrast 4.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #548c01

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #548c01 in the Color Lab