Skip to content

#542f21

a deep, soft orange · warm · closest name: sienna

RGB
84, 47, 33
HSL
17°, 44%, 23%
CMYK
0, 44, 61, 67
Luminance
0.0403

Every format

HEX#542f21
RGBrgb(84, 47, 33)
HSLhsl(17, 44%, 23%)
CMYKcmyk(0%, 44%, 61%, 67%)
LABlab(23.8 15.3 16.2)
LCHlch(23.8 22.3 46.6)
OKLCHoklch(0.348 0.059 41.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#542f21 on white: 11.63:1
AA ✓ pass · AA-large · AAA
Aa
#542f21 on black: 1.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.9%
Green18.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta44.0%
Yellow60.7%
Key (black)67.1%

Color previews

#542f21 text on a black background

contrast 1.81:1

Card sample

#542f21 text on a white background

contrast 11.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #542f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #542f21 in the Color Lab