Skip to content

#3f4f2d

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

RGB
63, 79, 45
HSL
88°, 27%, 24%
CMYK
20, 0, 43, 69
Luminance
0.0684

Every format

HEX#3f4f2d
RGBrgb(63, 79, 45)
HSLhsl(88, 27%, 24%)
CMYKcmyk(20%, 0%, 43%, 69%)
LABlab(31.4 -13.2 18.1)
LCHlch(31.4 22.4 126.2)
OKLCHoklch(0.404 0.057 129.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f4f2d on white: 8.87:1
AA ✓ pass · AA-large · AAA
Aa
#3f4f2d on black: 2.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green31.0%
Blue17.6%

CMYK percentages

Cyan20.3%
Magenta0.0%
Yellow43.0%
Key (black)69.0%

Color previews

#3f4f2d text on a black background

contrast 2.37:1

Card sample

#3f4f2d text on a white background

contrast 8.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(63, 79, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 79, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f4f2d;
background: linear-gradient(135deg, #3f4f2d, #2D4F32);

Monochromatic scale

Palettes built from #3f4f2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f4f2d in the Color Lab