Skip to content

#5d4e21

a deep, vivid yellow · warm · closest name: Dark Olive Green

RGB
93, 78, 33
HSL
45°, 48%, 25%
CMYK
0, 16, 65, 64
Luminance
0.0789

At a glance

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

Hex
#5d4e21
Hue
45°
yellow
Saturation
48%
vivid
Lightness
25%
deep
Brightness
36%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0789
WCAG relative
Temperature
Warm
13/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
8.15:1
Closest name
Dark Olive Green
ΔE2000 15.3
Where it sits
Hue45° of 360°
Saturation48%
Lightness25%
Temperature
Warm ← → Cool13% 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#5d4e21
RGBrgb(93, 78, 33)
HSLhsl(45, 48%, 25%)
CMYKcmyk(0%, 16%, 65%, 64%)
LABlab(33.7 0.2 28.4)
LCHlch(33.7 28.4 89.7)
OKLCHoklch(0.429 0.066 91.0)
Decimal6114849
Display P3color(display-p3 0.365 0.306 0.129)

Copy-ready code

/* CSS */
color: #5d4e21;
background-color: #5d4e21;
/* Tailwind (arbitrary) */
class="text-[#5d4e21] bg-[#5d4e21]"
/* SCSS */
$brand: #5d4e21;
/* SwiftUI */
Color(red: 0.365, green: 0.306, blue: 0.129)
/* Android */
Color.parseColor("#5d4e21")
/* Flutter */
Color(0xFF5D4E21)
/* Python / OpenCV (BGR) */
(33, 78, 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 #5d4e21 · 8.15:1
Use #ffffffAAA at every size.
Aa
White text · 8.15:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.58:1
AA fail · AA large fail · AAA fail
Reading the other direction: #5d4e21 as text scores 8.15:1 on white and 2.58:1 on black.

Accessibility — WCAG contrast

Aa
#5d4e21 on white: 8.15:1
AA ✓ pass · AA-large · AAA
Aa
#5d4e21 on black: 2.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #564D1C
deuteranopia · #5A5123
tritanopia · #654844

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5d4e21 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.

#FAF9F5
#F5F3EA
#ECE5D0
#E2D4AC
#D3BF83
#C4AA59
#B59840
#977E35
#78652B
#5d4e21
#372F15
Base = 900Lightest = 50 · #FAF9F5Darkest = 950 · #372F15
:root {
  --brand-50: #FAF9F5;
  --brand-100: #F5F3EA;
  --brand-200: #ECE5D0;
  --brand-300: #E2D4AC;
  --brand-400: #D3BF83;
  --brand-500: #C4AA59;
  --brand-600: #B59840;
  --brand-700: #977E35;
  --brand-800: #78652B;
  --brand-900: #5d4e21;
  --brand-950: #372F15;
  --brand: #5d4e21;
  --brand-ink: #ffffff;
}

Colors that work with #5d4e21

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#FAF9F4
Tinted page background
Border#EAE0C3
Hairlines and dividers
Muted text#9B874B
Captions on the surface
Accent#1E3F5F
Second voice, not a rival
Dark variant#5E4F21
Hover, pressed, headers
Light variant#F8F5EC
Selected rows, tints
Dark surface#242014
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 #5d4e21

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • 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#21305D
Analogous left#5D3021
Analogous right#4E5D21
Split-complement 1#214E5D
Split-complement 2#30215D
Triadic 1#215D4E
Triadic 2#4E215D
Tetradic#215D30

RGB percentages

Red36.5%
Green30.6%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta16.1%
Yellow64.5%
Key (black)63.5%

Color previews

#5d4e21 text on a black background

contrast 2.58:1

Card sample

#5d4e21 text on a white background

contrast 8.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(93, 78, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(93, 78, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5d4e21;
background: linear-gradient(135deg, #5d4e21, #445D21);

Monochromatic scale

Palettes built from #5d4e21

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.

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

#5d4e21, answered

What color is #5d4e21?

#5d4e21 is a deep vivid yellow, closest to Dark Olive Green (ΔE2000 15.3). It sits at 45° on the hue wheel with 48% saturation and 25% lightness, which reads as warm.

What is the RGB value of #5d4e21?

rgb(93, 78, 33) — 93 red, 78 green and 33 blue out of 255, or 36.5% / 30.6% / 12.9% by channel.

Is #5d4e21 a light or a dark color?

It is a dark color. Relative luminance is 0.0789 and perceived brightness is 31%, so white text on it reaches 8.15:1.

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

White. It scores 8.15:1 against #5d4e21, versus 2.58:1 for black — AAA at any size.

What is the complementary color of #5d4e21?

#21305D sits directly opposite on the wheel. Softer options are the split-complements #214E5D and #30215D, which give the same contrast with far less vibration.

What colors go well with #5d4e21?

For interface work: #FAF9F4 as the surface, #EAE0C3 for borders, #9B874B for secondary text, #1E3F5F as an accent and #5E4F21 for hover and pressed states. For a palette, the analogous pair #5D3021 and #4E5D21 stays calm, while #21305D is the loudest partner.

What is #5d4e21 in CMYK for printing?

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

Is #5d4e21 warm or cool?

Warm — it scores 13 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5D3E21; nudged cooler, #575E20.

Work with #5d4e21 in the Color Lab