Skip to content

#548c26

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

RGB
84, 140, 38
HSL
93°, 57%, 35%
CMYK
40, 0, 73, 45
Luminance
0.2078

Every format

HEX#548c26
RGBrgb(84, 140, 38)
HSLhsl(93, 57%, 35%)
CMYKcmyk(40%, 0%, 73%, 45%)
LABlab(52.7 -36.0 46.2)
LCHlch(52.7 58.6 128.0)
OKLCHoklch(0.580 0.145 134.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red32.9%
Green54.9%
Blue14.9%

CMYK percentages

Cyan40.0%
Magenta0.0%
Yellow72.9%
Key (black)45.1%

Color previews

#548c26 text on a black background

contrast 5.16:1

Card sample

#548c26 text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #548c26

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #548c26 in the Color Lab