Skip to content

#362f21

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

RGB
54, 47, 33
HSL
40°, 24%, 17%
CMYK
0, 13, 39, 79
Luminance
0.0293

Every format

HEX#362f21
RGBrgb(54, 47, 33)
HSLhsl(40, 24%, 17%)
CMYKcmyk(0%, 13%, 39%, 79%)
LABlab(19.8 0.6 10.2)
LCHlch(19.8 10.2 86.8)
OKLCHoklch(0.308 0.026 84.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#362f21 on white: 13.25:1
AA ✓ pass · AA-large · AAA
Aa
#362f21 on black: 1.59:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red21.2%
Green18.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta13.0%
Yellow38.9%
Key (black)78.8%

Color previews

#362f21 text on a black background

contrast 1.59:1

Card sample

#362f21 text on a white background

contrast 13.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(54, 47, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 47, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #362f21;
background: linear-gradient(135deg, #362f21, #2F3621);

Monochromatic scale

Palettes built from #362f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #362f21 in the Color Lab