Skip to content

#4c3f21

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

RGB
76, 63, 33
HSL
42°, 39%, 21%
CMYK
0, 17, 57, 70
Luminance
0.0520

Every format

HEX#4c3f21
RGBrgb(76, 63, 33)
HSLhsl(42, 39%, 21%)
CMYKcmyk(0%, 17%, 57%, 70%)
LABlab(27.3 1.1 20.4)
LCHlch(27.3 20.4 86.9)
OKLCHoklch(0.374 0.049 86.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4c3f21 on white: 10.29:1
AA ✓ pass · AA-large · AAA
Aa
#4c3f21 on black: 2.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.8%
Green24.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta17.1%
Yellow56.6%
Key (black)70.2%

Color previews

#4c3f21 text on a black background

contrast 2.04:1

Card sample

#4c3f21 text on a white background

contrast 10.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(76, 63, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(76, 63, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4c3f21;
background: linear-gradient(135deg, #4c3f21, #3C4C21);

Monochromatic scale

Palettes built from #4c3f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4c3f21 in the Color Lab