Skip to content

#4d492f

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

RGB
77, 73, 47
HSL
52°, 24%, 24%
CMYK
0, 5, 39, 70
Luminance
0.0655

Every format

HEX#4d492f
RGBrgb(77, 73, 47)
HSLhsl(52, 24%, 24%)
CMYKcmyk(0%, 5%, 39%, 70%)
LABlab(30.8 -2.9 16.2)
LCHlch(30.8 16.4 100.3)
OKLCHoklch(0.402 0.041 100.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4d492f on white: 9.09:1
AA ✓ pass · AA-large · AAA
Aa
#4d492f on black: 2.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green28.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta5.2%
Yellow39.0%
Key (black)69.8%

Color previews

#4d492f text on a black background

contrast 2.31:1

Card sample

#4d492f text on a white background

contrast 9.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(77, 73, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 73, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4d492f;
background: linear-gradient(135deg, #4d492f, #3D4D2F);

Monochromatic scale

Palettes built from #4d492f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4d492f in the Color Lab