Skip to content

#3d4c2f

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

RGB
61, 76, 47
HSL
91°, 24%, 24%
CMYK
20, 0, 38, 70
Luminance
0.0637

Every format

HEX#3d4c2f
RGBrgb(61, 76, 47)
HSLhsl(91, 24%, 24%)
CMYKcmyk(20%, 0%, 38%, 70%)
LABlab(30.3 -12.0 15.3)
LCHlch(30.3 19.5 128.1)
OKLCHoklch(0.395 0.050 130.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3d4c2f on white: 9.24:1
AA ✓ pass · AA-large · AAA
Aa
#3d4c2f on black: 2.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.9%
Green29.8%
Blue18.4%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow38.2%
Key (black)70.2%

Color previews

#3d4c2f text on a black background

contrast 2.27:1

Card sample

#3d4c2f text on a white background

contrast 9.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(61, 76, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(61, 76, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3d4c2f;
background: linear-gradient(135deg, #3d4c2f, #2F4C34);

Monochromatic scale

Palettes built from #3d4c2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3d4c2f in the Color Lab