Skip to content

#272316

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

RGB
39, 35, 22
HSL
46°, 28%, 12%
CMYK
0, 10, 44, 85
Luminance
0.0169

Every format

HEX#272316
RGBrgb(39, 35, 22)
HSLhsl(46, 28%, 12%)
CMYKcmyk(0%, 10%, 44%, 85%)
LABlab(13.8 -0.7 9.4)
LCHlch(13.8 9.4 94.1)
OKLCHoklch(0.257 0.024 93.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#272316 on white: 15.69:1
AA ✓ pass · AA-large · AAA
Aa
#272316 on black: 1.34:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.3%
Green13.7%
Blue8.6%

CMYK percentages

Cyan0.0%
Magenta10.3%
Yellow43.6%
Key (black)84.7%

Color previews

#272316 text on a black background

contrast 1.34:1

Card sample

#272316 text on a white background

contrast 15.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(39, 35, 22, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(39, 35, 22, 0.45);
Border & gradient
Gradient panel
border: 3px solid #272316;
background: linear-gradient(135deg, #272316, #202716);

Monochromatic scale

Palettes built from #272316

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #272316 in the Color Lab