Skip to content

#3d3d1f

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

RGB
61, 61, 31
HSL
60°, 33%, 18%
CMYK
0, 0, 49, 76
Luminance
0.0443

Every format

HEX#3d3d1f
RGBrgb(61, 61, 31)
HSLhsl(60, 33%, 18%)
CMYKcmyk(0%, 0%, 49%, 76%)
LABlab(25.0 -5.3 18.4)
LCHlch(25.0 19.2 106.1)
OKLCHoklch(0.352 0.047 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3d3d1f on white: 11.14:1
AA ✓ pass · AA-large · AAA
Aa
#3d3d1f on black: 1.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.9%
Green23.9%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow49.2%
Key (black)76.1%

Color previews

#3d3d1f text on a black background

contrast 1.89:1

Card sample

#3d3d1f text on a white background

contrast 11.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(61, 61, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(61, 61, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3d3d1f;
background: linear-gradient(135deg, #3d3d1f, #293D1F);

Monochromatic scale

Palettes built from #3d3d1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3d3d1f in the Color Lab