Skip to content

#5d4f2f

a dark, soft yellow · warm · closest name: Dark Olive Green

RGB
93, 79, 47
HSL
42°, 33%, 28%
CMYK
0, 15, 50, 64
Luminance
0.0812

At a glance

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

Hex
#5d4f2f
Hue
42°
yellow
Saturation
33%
soft
Lightness
28%
dark
Brightness
36%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0812
WCAG relative
Temperature
Warm
12/100 cool
Color family
Yellow
Tone
Soft
Best ink
White
8.00:1
Closest name
Dark Olive Green
ΔE2000 16.1
Where it sits
Hue42° of 360°
Saturation33%
Lightness28%
Temperature
Warm ← → Cool12% 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#5d4f2f
RGBrgb(93, 79, 47)
HSLhsl(42, 33%, 28%)
CMYKcmyk(0%, 15%, 50%, 64%)
LABlab(34.2 0.9 21.0)
LCHlch(34.2 21.0 87.4)
OKLCHoklch(0.433 0.051 86.7)
Decimal6115119
Display P3color(display-p3 0.365 0.310 0.184)

Copy-ready code

/* CSS */
color: #5d4f2f;
background-color: #5d4f2f;
/* Tailwind (arbitrary) */
class="text-[#5d4f2f] bg-[#5d4f2f]"
/* SCSS */
$brand: #5d4f2f;
/* SwiftUI */
Color(red: 0.365, green: 0.310, blue: 0.184)
/* Android */
Color.parseColor("#5d4f2f")
/* Flutter */
Color(0xFF5D4F2F)
/* Python / OpenCV (BGR) */
(47, 79, 93)

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

Accessibility — WCAG contrast

Aa
#5d4f2f on white: 8.00:1
AA ✓ pass · AA-large · AAA
Aa
#5d4f2f on black: 2.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #564E2D
deuteranopia · #595230
tritanopia · #644A47

Color scale — 50 to 950

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

#F9F8F5
#F4F1EC
#E7E2D4
#D9CEB4
#C7B68F
#B49D6A
#A38A52
#887344
#6C5C37
#5d4f2f
#322B1B
Base = 900Lightest = 50 · #F9F8F5Darkest = 950 · #322B1B
:root {
  --brand-50: #F9F8F5;
  --brand-100: #F4F1EC;
  --brand-200: #E7E2D4;
  --brand-300: #D9CEB4;
  --brand-400: #C7B68F;
  --brand-500: #B49D6A;
  --brand-600: #A38A52;
  --brand-700: #887344;
  --brand-800: #6C5C37;
  --brand-900: #5d4f2f;
  --brand-950: #322B1B;
  --brand: #5d4f2f;
  --brand-ink: #ffffff;
}

Colors that work with #5d4f2f

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#FAF8F5
Tinted page background
Border#E4DBC9
Hairlines and dividers
Muted text#99814D
Captions on the surface
Accent#2C4960
Second voice, not a rival
Dark variant#55482B
Hover, pressed, headers
Light variant#F6F4EE
Selected rows, tints
Dark surface#241F14
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 #5d4f2f

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#2F3D5D
Analogous left#5D382F
Analogous right#545D2F
Split-complement 1#2F545D
Split-complement 2#382F5D
Triadic 1#2F5D4F
Triadic 2#4F2F5D
Tetradic#2F5D38

RGB percentages

Red36.5%
Green31.0%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta15.1%
Yellow49.5%
Key (black)63.5%

Color previews

#5d4f2f text on a black background

contrast 2.62:1

Card sample

#5d4f2f text on a white background

contrast 8.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(93, 79, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(93, 79, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5d4f2f;
background: linear-gradient(135deg, #5d4f2f, #4D5D2F);

Monochromatic scale

Palettes built from #5d4f2f

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.

#5d4f2f 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.

#5d4f2f, answered

What color is #5d4f2f?

#5d4f2f is a dark soft yellow, closest to Dark Olive Green (ΔE2000 16.1). It sits at 42° on the hue wheel with 33% saturation and 28% lightness, which reads as warm.

What is the RGB value of #5d4f2f?

rgb(93, 79, 47) — 93 red, 79 green and 47 blue out of 255, or 36.5% / 31% / 18.4% by channel.

Is #5d4f2f a light or a dark color?

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

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

White. It scores 8.00:1 against #5d4f2f, versus 2.62:1 for black — AAA at any size.

What is the complementary color of #5d4f2f?

#2F3D5D sits directly opposite on the wheel. Softer options are the split-complements #2F545D and #382F5D, which give the same contrast with far less vibration.

What colors go well with #5d4f2f?

For interface work: #FAF8F5 as the surface, #E4DBC9 for borders, #99814D for secondary text, #2C4960 as an accent and #55482B for hover and pressed states. For a palette, the analogous pair #5D382F and #545D2F stays calm, while #2F3D5D is the loudest partner.

What is #5d4f2f in CMYK for printing?

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

Is #5d4f2f warm or cool?

Warm — it scores 12 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5D452F; nudged cooler, #5C5F2E.

Work with #5d4f2f in the Color Lab