Skip to content

#343d21

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

RGB
52, 61, 33
HSL
79°, 30%, 18%
CMYK
15, 0, 46, 76
Luminance
0.0418

Every format

HEX#343d21
RGBrgb(52, 61, 33)
HSLhsl(79, 30%, 18%)
CMYKcmyk(15%, 0%, 46%, 76%)
LABlab(24.3 -9.4 16.0)
LCHlch(24.3 18.6 120.4)
OKLCHoklch(0.344 0.047 123.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#343d21 on white: 11.44:1
AA ✓ pass · AA-large · AAA
Aa
#343d21 on black: 1.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.4%
Green23.9%
Blue12.9%

CMYK percentages

Cyan14.8%
Magenta0.0%
Yellow45.9%
Key (black)76.1%

Color previews

#343d21 text on a black background

contrast 1.84:1

Card sample

#343d21 text on a white background

contrast 11.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #343d21;
Background color
Panel with #343d21 background
background-color: #343d21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #343d21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(52, 61, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(52, 61, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #343d21;
background: linear-gradient(135deg, #343d21, #213D21);

Monochromatic scale

Palettes built from #343d21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #343d21 in the Color Lab