Skip to content

#343921

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

RGB
52, 57, 33
HSL
73°, 27%, 18%
CMYK
9, 0, 42, 78
Luminance
0.0377

Every format

HEX#343921
RGBrgb(52, 57, 33)
HSLhsl(73, 27%, 18%)
CMYKcmyk(9%, 0%, 42%, 78%)
LABlab(22.9 -6.9 14.3)
LCHlch(22.9 15.9 115.9)
OKLCHoklch(0.333 0.040 118.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#343921 on white: 11.98:1
AA ✓ pass · AA-large · AAA
Aa
#343921 on black: 1.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.4%
Green22.4%
Blue12.9%

CMYK percentages

Cyan8.8%
Magenta0.0%
Yellow42.1%
Key (black)77.6%

Color previews

#343921 text on a black background

contrast 1.75:1

Card sample

#343921 text on a white background

contrast 11.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #343921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #343921 in the Color Lab