Skip to content

#2f2d0d

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

RGB
47, 45, 13
HSL
57°, 57%, 12%
CMYK
0, 4, 72, 82
Luminance
0.0251

Every format

HEX#2f2d0d
RGBrgb(47, 45, 13)
HSLhsl(57, 57%, 12%)
CMYKcmyk(0%, 4%, 72%, 82%)
LABlab(18.0 -4.3 20.2)
LCHlch(18.0 20.7 101.9)
OKLCHoklch(0.291 0.049 105.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f2d0d on white: 13.98:1
AA ✓ pass · AA-large · AAA
Aa
#2f2d0d on black: 1.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green17.6%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow72.3%
Key (black)81.6%

Color previews

#2f2d0d text on a black background

contrast 1.50:1

Card sample

#2f2d0d text on a white background

contrast 13.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 45, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 45, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f2d0d;
background: linear-gradient(135deg, #2f2d0d, #1A2F0D);

Monochromatic scale

Palettes built from #2f2d0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f2d0d in the Color Lab