Skip to content

#403921

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

RGB
64, 57, 33
HSL
47°, 32%, 19%
CMYK
0, 11, 48, 75
Luminance
0.0413

Every format

HEX#403921
RGBrgb(64, 57, 33)
HSLhsl(47, 32%, 19%)
CMYKcmyk(0%, 11%, 48%, 75%)
LABlab(24.1 -1.0 16.1)
LCHlch(24.1 16.1 93.7)
OKLCHoklch(0.345 0.039 93.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#403921 on white: 11.51:1
AA ✓ pass · AA-large · AAA
Aa
#403921 on black: 1.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green22.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta10.9%
Yellow48.4%
Key (black)74.9%

Color previews

#403921 text on a black background

contrast 1.83:1

Card sample

#403921 text on a white background

contrast 11.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 57, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 57, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #403921;
background: linear-gradient(135deg, #403921, #324021);

Monochromatic scale

Palettes built from #403921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #403921 in the Color Lab