Skip to content

#2f2d1c

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

RGB
47, 45, 28
HSL
54°, 25%, 15%
CMYK
0, 4, 40, 82
Luminance
0.0256

At a glance

Every number on this page in one read: what #2f2d1c is made of, how bright it looks, and which way it leans.

Hex
#2f2d1c
Hue
54°
yellow
Saturation
25%
soft
Lightness
15%
deep
Brightness
18%
HSV value
Perceived
17%
weighted brightness
Luminance
0.0256
WCAG relative
Temperature
Warm
28/100 cool
Color family
Yellow
Tone
Soft
Best ink
White
13.88:1
Closest name
Black
ΔE2000 14.7
Where it sits
Hue54° of 360°
Saturation25%
Lightness15%
Temperature
Warm ← → Cool28% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#2f2d1c
RGBrgb(47, 45, 28)
HSLhsl(54, 25%, 15%)
CMYKcmyk(0%, 4%, 40%, 82%)
LABlab(18.2 -2.4 11.3)
LCHlch(18.2 11.6 102.0)
OKLCHoklch(0.294 0.029 102.3)
Decimal3091740
Display P3color(display-p3 0.184 0.176 0.110)

Copy-ready code

/* CSS */
color: #2f2d1c;
background-color: #2f2d1c;
/* Tailwind (arbitrary) */
class="text-[#2f2d1c] bg-[#2f2d1c]"
/* SCSS */
$brand: #2f2d1c;
/* SwiftUI */
Color(red: 0.184, green: 0.176, blue: 0.110)
/* Android */
Color.parseColor("#2f2d1c")
/* Flutter */
Color(0xFF2F2D1C)
/* Python / OpenCV (BGR) */
(28, 45, 47)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #2f2d1c · 13.88:1
Use #ffffffAAA at every size.
Aa
White text · 13.88:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.51:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2f2d1c as text scores 13.88:1 on white and 1.51:1 on black.

Accessibility — WCAG contrast

Aa
#2f2d1c on white: 13.88:1
AA ✓ pass · AA-large · AAA
Aa
#2f2d1c on black: 1.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #302C1B
deuteranopia · #312D1D
tritanopia · #322B29

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2f2d1c is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F9F6
#F3F2ED
#E5E4D6
#D5D2B9
#C0BC96
#ABA572
#99935B
#807A4C
#66623D
#4B482F
#2f2d1c
Base = 950Lightest = 50 · #F9F9F6Darkest = 950 · #2f2d1c
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F3F2ED;
  --brand-200: #E5E4D6;
  --brand-300: #D5D2B9;
  --brand-400: #C0BC96;
  --brand-500: #ABA572;
  --brand-600: #99935B;
  --brand-700: #807A4C;
  --brand-800: #66623D;
  --brand-900: #4B482F;
  --brand-950: #2f2d1c;
  --brand: #2f2d1c;
  --brand-ink: #ffffff;
}

Colors that work with #2f2d1c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9F9F5
Tinted page background
Border#E1DECC
Hairlines and dividers
Muted text#908A56
Captions on the surface
Accent#1B2230
Second voice, not a rival
Dark variant#504C30
Hover, pressed, headers
Light variant#F5F5EF
Selected rows, tints
Dark surface#232215
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #2f2d1c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#1C1E2F
Analogous left#2F231C
Analogous right#272F1C
Split-complement 1#1C272F
Split-complement 2#231C2F
Triadic 1#1C2F2D
Triadic 2#2D1C2F
Tetradic#1C2F23

RGB percentages

Red18.4%
Green17.6%
Blue11.0%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow40.4%
Key (black)81.6%

Color previews

#2f2d1c text on a black background

contrast 1.51:1

Card sample

#2f2d1c text on a white background

contrast 13.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f2d1c

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#2f2d1c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#2f2d1c, answered

What color is #2f2d1c?

#2f2d1c is a deep soft yellow, closest to Black (ΔE2000 14.7). It sits at 54° on the hue wheel with 25% saturation and 15% lightness, which reads as warm.

What is the RGB value of #2f2d1c?

rgb(47, 45, 28) — 47 red, 45 green and 28 blue out of 255, or 18.4% / 17.6% / 11% by channel.

Is #2f2d1c a light or a dark color?

It is a dark color. Relative luminance is 0.0256 and perceived brightness is 17%, so white text on it reaches 13.88:1.

Should I use black or white text on #2f2d1c?

White. It scores 13.88:1 against #2f2d1c, versus 1.51:1 for black — AAA at any size.

What is the complementary color of #2f2d1c?

#1C1E2F sits directly opposite on the wheel. Softer options are the split-complements #1C272F and #231C2F, which give the same contrast with far less vibration.

What colors go well with #2f2d1c?

For interface work: #F9F9F5 as the surface, #E1DECC for borders, #908A56 for secondary text, #1B2230 as an accent and #504C30 for hover and pressed states. For a palette, the analogous pair #2F231C and #272F1C stays calm, while #1C1E2F is the loudest partner.

What is #2f2d1c in CMYK for printing?

cmyk(0%, 4%, 40%, 82%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #2f2d1c warm or cool?

Warm — it scores 28 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2F261C; nudged cooler, #2A301B.

Work with #2f2d1c in the Color Lab