Skip to content

#5f4f3f

a dark, soft orange · warm · closest name: Dim Gray

RGB
95, 79, 63
HSL
30°, 20%, 31%
CMYK
0, 17, 34, 63
Luminance
0.0838

At a glance

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

Hex
#5f4f3f
Hue
30°
orange
Saturation
20%
soft
Lightness
31%
dark
Brightness
37%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0838
WCAG relative
Temperature
Warm
21/100 cool
Color family
Orange
Tone
Soft
Best ink
White
7.85:1
Closest name
Dim Gray
ΔE2000 13.3
Where it sits
Hue30° of 360°
Saturation20%
Lightness31%
Temperature
Warm ← → Cool21% 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#5f4f3f
RGBrgb(95, 79, 63)
HSLhsl(30, 20%, 31%)
CMYKcmyk(0%, 17%, 34%, 63%)
LABlab(34.8 4.0 11.9)
LCHlch(34.8 12.6 71.5)
OKLCHoklch(0.439 0.033 66.8)
Decimal6246207
Display P3color(display-p3 0.373 0.310 0.247)

Copy-ready code

/* CSS */
color: #5f4f3f;
background-color: #5f4f3f;
/* Tailwind (arbitrary) */
class="text-[#5f4f3f] bg-[#5f4f3f]"
/* SCSS */
$brand: #5f4f3f;
/* SwiftUI */
Color(red: 0.373, green: 0.310, blue: 0.247)
/* Android */
Color.parseColor("#5f4f3f")
/* Flutter */
Color(0xFF5F4F3F)
/* Python / OpenCV (BGR) */
(63, 79, 95)

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 #5f4f3f · 7.85:1
Use #ffffffAAA at every size.
Aa
White text · 7.85:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.68:1
AA fail · AA large fail · AAA fail
Reading the other direction: #5f4f3f as text scores 7.85:1 on white and 2.68:1 on black.

Accessibility — WCAG contrast

Aa
#5f4f3f on white: 7.85:1
AA ✓ pass · AA-large · AAA
Aa
#5f4f3f on black: 2.68:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #54503E
deuteranopia · #58533F
tritanopia · #654B4B

Color scale — 50 to 950

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

#F9F7F6
#F2F0ED
#E4DED8
#D2C7BC
#BCAB9A
#A68F78
#937A62
#7B6651
#5f4f3f
#493D32
#2D261F
Base = 800Lightest = 50 · #F9F7F6Darkest = 950 · #2D261F
:root {
  --brand-50: #F9F7F6;
  --brand-100: #F2F0ED;
  --brand-200: #E4DED8;
  --brand-300: #D2C7BC;
  --brand-400: #BCAB9A;
  --brand-500: #A68F78;
  --brand-600: #937A62;
  --brand-700: #7B6651;
  --brand-800: #5f4f3f;
  --brand-900: #493D32;
  --brand-950: #2D261F;
  --brand: #5f4f3f;
  --brand-ink: #ffffff;
}

Colors that work with #5f4f3f

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#F9F7F6
Tinted page background
Border#DED6CE
Hairlines and dividers
Muted text#8A735B
Captions on the surface
Accent#3C5962
Second voice, not a rival
Dark variant#4D4033
Hover, pressed, headers
Light variant#F5F2F0
Selected rows, tints
Dark surface#221C16
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 #5f4f3f

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
  • 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#3F4F5F
Analogous left#5F3F3F
Analogous right#5F5F3F
Split-complement 1#3F5F5F
Split-complement 2#3F3F5F
Triadic 1#3F5F4F
Triadic 2#4F3F5F
Tetradic#3F5F3F

RGB percentages

Red37.3%
Green31.0%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta16.8%
Yellow33.7%
Key (black)62.7%

Color previews

#5f4f3f text on a black background

contrast 2.68:1

Card sample

#5f4f3f text on a white background

contrast 7.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(95, 79, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 79, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5f4f3f;
background: linear-gradient(135deg, #5f4f3f, #5A5F3F);

Monochromatic scale

Palettes built from #5f4f3f

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.

#5f4f3f in the real world

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

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#5f4f3f, answered

What color is #5f4f3f?

#5f4f3f is a dark soft orange, closest to Dim Gray (ΔE2000 13.3). It sits at 30° on the hue wheel with 20% saturation and 31% lightness, which reads as warm.

What is the RGB value of #5f4f3f?

rgb(95, 79, 63) — 95 red, 79 green and 63 blue out of 255, or 37.3% / 31% / 24.7% by channel.

Is #5f4f3f a light or a dark color?

It is a dark color. Relative luminance is 0.0838 and perceived brightness is 32%, so white text on it reaches 7.85:1.

Should I use black or white text on #5f4f3f?

White. It scores 7.85:1 against #5f4f3f, versus 2.68:1 for black — AAA at any size.

What is the complementary color of #5f4f3f?

#3F4F5F sits directly opposite on the wheel. Softer options are the split-complements #3F5F5F and #3F3F5F, which give the same contrast with far less vibration.

What colors go well with #5f4f3f?

For interface work: #F9F7F6 as the surface, #DED6CE for borders, #8A735B for secondary text, #3C5962 as an accent and #4D4033 for hover and pressed states. For a palette, the analogous pair #5F3F3F and #5F5F3F stays calm, while #3F4F5F is the loudest partner.

What is #5f4f3f in CMYK for printing?

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

Is #5f4f3f warm or cool?

Warm — it scores 21 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6E5949; nudged cooler, #61423D.

Work with #5f4f3f in the Color Lab