Skip to content

#4d4713

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

RGB
77, 71, 19
HSL
54°, 60%, 19%
CMYK
0, 8, 75, 70
Luminance
0.0613

At a glance

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

Hex
#4d4713
Hue
54°
yellow
Saturation
60%
vivid
Lightness
19%
deep
Brightness
30%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0613
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
9.43:1
Closest name
Dark Olive Green
ΔE2000 14.2
Where it sits
Hue54° of 360°
Saturation60%
Lightness19%
Temperature
Warm ← → Cool20% 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#4d4713
RGBrgb(77, 71, 19)
HSLhsl(54, 60%, 19%)
CMYKcmyk(0%, 8%, 75%, 70%)
LABlab(29.7 -4.6 30.8)
LCHlch(29.7 31.1 98.4)
OKLCHoklch(0.393 0.071 102.7)
Decimal5064467
Display P3color(display-p3 0.302 0.278 0.075)

Copy-ready code

/* CSS */
color: #4d4713;
background-color: #4d4713;
/* Tailwind (arbitrary) */
class="text-[#4d4713] bg-[#4d4713]"
/* SCSS */
$brand: #4d4713;
/* SwiftUI */
Color(red: 0.302, green: 0.278, blue: 0.075)
/* Android */
Color.parseColor("#4d4713")
/* Flutter */
Color(0xFF4D4713)
/* Python / OpenCV (BGR) */
(19, 71, 77)

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

Accessibility — WCAG contrast

Aa
#4d4713 on white: 9.43:1
AA ✓ pass · AA-large · AAA
Aa
#4d4713 on black: 2.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4E450C
deuteranopia · #504716
tritanopia · #53423C

Color scale — 50 to 950

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

#FBFAF4
#F7F5E8
#EFECCC
#E9E2A5
#DED378
#D3C54B
#C4B530
#A49728
#837920
#5F581B
#4d4713
Base = 950Lightest = 50 · #FBFAF4Darkest = 950 · #4d4713
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F5E8;
  --brand-200: #EFECCC;
  --brand-300: #E9E2A5;
  --brand-400: #DED378;
  --brand-500: #D3C54B;
  --brand-600: #C4B530;
  --brand-700: #A49728;
  --brand-800: #837920;
  --brand-900: #5F581B;
  --brand-950: #4d4713;
  --brand: #4d4713;
  --brand-ink: #ffffff;
}

Colors that work with #4d4713

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#FAFAF4
Tinted page background
Border#EDE8C0
Hairlines and dividers
Muted text#9B934B
Captions on the surface
Accent#11274F
Second voice, not a rival
Dark variant#665E19
Hover, pressed, headers
Light variant#FAF8EB
Selected rows, tints
Dark surface#242314
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 #4d4713

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#13194D
Analogous left#4D2A13
Analogous right#364D13
Split-complement 1#13364D
Split-complement 2#2A134D
Triadic 1#134D47
Triadic 2#47134D
Tetradic#134D2A

RGB percentages

Red30.2%
Green27.8%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow75.3%
Key (black)69.8%

Color previews

#4d4713 text on a black background

contrast 2.23:1

Card sample

#4d4713 text on a white background

contrast 9.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4d4713;
Background color
Panel with #4d4713 background
background-color: #4d4713;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(77, 71, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 71, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4d4713;
background: linear-gradient(135deg, #4d4713, #2C4D13);

Monochromatic scale

Palettes built from #4d4713

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.

#4d4713 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.

#4d4713, answered

What color is #4d4713?

#4d4713 is a deep vivid yellow, closest to Dark Olive Green (ΔE2000 14.2). It sits at 54° on the hue wheel with 60% saturation and 19% lightness, which reads as warm.

What is the RGB value of #4d4713?

rgb(77, 71, 19) — 77 red, 71 green and 19 blue out of 255, or 30.2% / 27.8% / 7.5% by channel.

Is #4d4713 a light or a dark color?

It is a dark color. Relative luminance is 0.0613 and perceived brightness is 27%, so white text on it reaches 9.43:1.

Should I use black or white text on #4d4713?

White. It scores 9.43:1 against #4d4713, versus 2.23:1 for black — AAA at any size.

What is the complementary color of #4d4713?

#13194D sits directly opposite on the wheel. Softer options are the split-complements #13364D and #2A134D, which give the same contrast with far less vibration.

What colors go well with #4d4713?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B934B for secondary text, #11274F as an accent and #665E19 for hover and pressed states. For a palette, the analogous pair #4D2A13 and #364D13 stays calm, while #13194D is the loudest partner.

What is #4d4713 in CMYK for printing?

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

Is #4d4713 warm or cool?

Warm — it scores 20 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4D3213; nudged cooler, #3E4E12.

Work with #4d4713 in the Color Lab