Skip to content

#364f21

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

RGB
54, 79, 33
HSL
93°, 41%, 22%
CMYK
32, 0, 58, 69
Luminance
0.0649

Every format

HEX#364f21
RGBrgb(54, 79, 33)
HSLhsl(93, 41%, 22%)
CMYKcmyk(32%, 0%, 58%, 69%)
LABlab(30.6 -18.8 23.9)
LCHlch(30.6 30.4 128.2)
OKLCHoklch(0.395 0.077 132.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#364f21 on white: 9.14:1
AA ✓ pass · AA-large · AAA
Aa
#364f21 on black: 2.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red21.2%
Green31.0%
Blue12.9%

CMYK percentages

Cyan31.6%
Magenta0.0%
Yellow58.2%
Key (black)69.0%

Color previews

#364f21 text on a black background

contrast 2.30:1

Card sample

#364f21 text on a white background

contrast 9.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #364f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #364f21 in the Color Lab