Skip to content

#413b21

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

RGB
65, 59, 33
HSL
49°, 33%, 19%
CMYK
0, 9, 49, 75
Luminance
0.0436

Every format

HEX#413b21
RGBrgb(65, 59, 33)
HSLhsl(49, 33%, 19%)
CMYKcmyk(0%, 9%, 49%, 75%)
LABlab(24.8 -1.8 17.0)
LCHlch(24.8 17.1 96.1)
OKLCHoklch(0.351 0.042 96.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#413b21 on white: 11.22:1
AA ✓ pass · AA-large · AAA
Aa
#413b21 on black: 1.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.5%
Green23.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta9.2%
Yellow49.2%
Key (black)74.5%

Color previews

#413b21 text on a black background

contrast 1.87:1

Card sample

#413b21 text on a white background

contrast 11.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #413b21;
Background color
Panel with #413b21 background
background-color: #413b21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #413b21;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #413b21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #413b21 in the Color Lab