Skip to content

#3e3b21

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

RGB
62, 59, 33
HSL
54°, 31%, 19%
CMYK
0, 5, 47, 76
Luminance
0.0426

Every format

HEX#3e3b21
RGBrgb(62, 59, 33)
HSLhsl(54, 31%, 19%)
CMYKcmyk(0%, 5%, 47%, 76%)
LABlab(24.5 -3.3 16.6)
LCHlch(24.5 16.9 101.3)
OKLCHoklch(0.348 0.041 102.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3e3b21 on white: 11.34:1
AA ✓ pass · AA-large · AAA
Aa
#3e3b21 on black: 1.85:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.3%
Green23.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta4.8%
Yellow46.8%
Key (black)75.7%

Color previews

#3e3b21 text on a black background

contrast 1.85:1

Card sample

#3e3b21 text on a white background

contrast 11.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(62, 59, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(62, 59, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3e3b21;
background: linear-gradient(135deg, #3e3b21, #2E3E21);

Monochromatic scale

Palettes built from #3e3b21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3e3b21 in the Color Lab