Skip to content

#403c13

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

RGB
64, 60, 19
HSL
55°, 54%, 16%
CMYK
0, 6, 70, 75
Luminance
0.0437

Every format

HEX#403c13
RGBrgb(64, 60, 19)
HSLhsl(55, 54%, 16%)
CMYKcmyk(0%, 6%, 70%, 75%)
LABlab(24.9 -4.4 25.2)
LCHlch(24.9 25.6 99.9)
OKLCHoklch(0.351 0.059 103.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#403c13 on white: 11.21:1
AA ✓ pass · AA-large · AAA
Aa
#403c13 on black: 1.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green23.5%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta6.2%
Yellow70.3%
Key (black)74.9%

Color previews

#403c13 text on a black background

contrast 1.87:1

Card sample

#403c13 text on a white background

contrast 11.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 60, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 60, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #403c13;
background: linear-gradient(135deg, #403c13, #264013);

Monochromatic scale

Palettes built from #403c13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #403c13 in the Color Lab