Skip to content

#3f2f0f

a deep, vivid yellow · warm · closest name: black

RGB
63, 47, 15
HSL
40°, 62%, 15%
CMYK
0, 25, 76, 75
Luminance
0.0312

Every format

HEX#3f2f0f
RGBrgb(63, 47, 15)
HSLhsl(40, 62%, 15%)
CMYKcmyk(0%, 25%, 76%, 75%)
LABlab(20.5 3.2 22.7)
LCHlch(20.5 22.9 82.0)
OKLCHoklch(0.316 0.052 82.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f2f0f on white: 12.92:1
AA ✓ pass · AA-large · AAA
Aa
#3f2f0f on black: 1.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green18.4%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta25.4%
Yellow76.2%
Key (black)75.3%

Color previews

#3f2f0f text on a black background

contrast 1.62:1

Card sample

#3f2f0f text on a white background

contrast 12.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(63, 47, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 47, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f2f0f;
background: linear-gradient(135deg, #3f2f0f, #2F3F0F);

Monochromatic scale

Palettes built from #3f2f0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f2f0f in the Color Lab