Skip to content

#545f30

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

RGB
84, 95, 48
HSL
74°, 33%, 28%
CMYK
12, 0, 50, 63
Luminance
0.1028

Every format

HEX#545f30
RGBrgb(84, 95, 48)
HSLhsl(74, 33%, 28%)
CMYKcmyk(12%, 0%, 50%, 63%)
LABlab(38.4 -12.6 25.4)
LCHlch(38.4 28.3 116.4)
OKLCHoklch(0.464 0.070 120.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#545f30 on white: 6.87:1
AA ✓ pass · AA-large · AAA
Aa
#545f30 on black: 3.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.9%
Green37.3%
Blue18.8%

CMYK percentages

Cyan11.6%
Magenta0.0%
Yellow49.5%
Key (black)62.7%

Color previews

#545f30 text on a black background

contrast 3.06:1

Card sample

#545f30 text on a white background

contrast 6.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(84, 95, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 95, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #545f30;
background: linear-gradient(135deg, #545f30, #355F30);

Monochromatic scale

Palettes built from #545f30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #545f30 in the Color Lab