Skip to content

#364b21

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

RGB
54, 75, 33
HSL
90°, 39%, 21%
CMYK
28, 0, 56, 71
Luminance
0.0593

Every format

HEX#364b21
RGBrgb(54, 75, 33)
HSLhsl(90, 39%, 21%)
CMYKcmyk(28%, 0%, 56%, 71%)
LABlab(29.2 -16.6 22.3)
LCHlch(29.2 27.8 126.7)
OKLCHoklch(0.384 0.070 131.0)

Copy-ready code

/* CSS */
color: #364b21;
background-color: #364b21;
/* Tailwind (arbitrary) */
class="text-[#364b21] bg-[#364b21]"
/* SCSS */
$brand: #364b21;
/* SwiftUI */
Color(red: 0.212, green: 0.294, blue: 0.129)
/* Android */
Color.parseColor("#364b21")

Accessibility — WCAG contrast

Aa
#364b21 on white: 9.61:1
AA ✓ pass · AA-large · AAA
Aa
#364b21 on black: 2.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red21.2%
Green29.4%
Blue12.9%

CMYK percentages

Cyan28.0%
Magenta0.0%
Yellow56.0%
Key (black)70.6%

Color previews

#364b21 text on a black background

contrast 2.19:1

Card sample

#364b21 text on a white background

contrast 9.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #364b21;
Background color
Panel with #364b21 background
background-color: #364b21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #364b21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(54, 75, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 75, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #364b21;
background: linear-gradient(135deg, #364b21, #214B28);

Monochromatic scale

Palettes built from #364b21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #364b21 in the Color Lab