Skip to content

#413a21

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

RGB
65, 58, 33
HSL
47°, 33%, 19%
CMYK
0, 11, 49, 75
Luminance
0.0426

Every format

HEX#413a21
RGBrgb(65, 58, 33)
HSLhsl(47, 33%, 19%)
CMYKcmyk(0%, 11%, 49%, 75%)
LABlab(24.5 -1.2 16.6)
LCHlch(24.5 16.7 94.1)
OKLCHoklch(0.349 0.041 94.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red25.5%
Green22.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow49.2%
Key (black)74.5%

Color previews

#413a21 text on a black background

contrast 1.85:1

Card sample

#413a21 text on a white background

contrast 11.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #413a21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #413a21 in the Color Lab