Skip to content

#4d5321

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

RGB
77, 83, 33
HSL
67°, 43%, 23%
CMYK
7, 0, 60, 68
Luminance
0.0787

At a glance

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

Hex
#4d5321
Hue
67°
yellow
Saturation
43%
soft
Lightness
23%
deep
Brightness
33%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0787
WCAG relative
Temperature
Warm
31/100 cool
Color family
Yellow
Tone
Soft
Best ink
White
8.16:1
Closest name
Dark Olive Green
ΔE2000 8.8
Where it sits
Hue67° of 360°
Saturation43%
Lightness23%
Temperature
Warm ← → Cool31% 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#4d5321
RGBrgb(77, 83, 33)
HSLhsl(67, 43%, 23%)
CMYKcmyk(7%, 0%, 60%, 68%)
LABlab(33.7 -10.6 28.0)
LCHlch(33.7 29.9 110.7)
OKLCHoklch(0.425 0.072 115.2)
Decimal5067553
Display P3color(display-p3 0.302 0.325 0.129)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4d5321 on white: 8.16:1
AA ✓ pass · AA-large · AAA
Aa
#4d5321 on black: 2.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #594F1C
deuteranopia · #585024
tritanopia · #524E48

Color scale — 50 to 950

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

#F9FAF5
#F4F5EB
#E7EAD1
#D9DFAF
#C6CF87
#B4BF5E
#A2AF46
#87923A
#6C752E
#4d5321
#323517
Base = 900Lightest = 50 · #F9FAF5Darkest = 950 · #323517
:root {
  --brand-50: #F9FAF5;
  --brand-100: #F4F5EB;
  --brand-200: #E7EAD1;
  --brand-300: #D9DFAF;
  --brand-400: #C6CF87;
  --brand-500: #B4BF5E;
  --brand-600: #A2AF46;
  --brand-700: #87923A;
  --brand-800: #6C752E;
  --brand-900: #4d5321;
  --brand-950: #323517;
  --brand: #4d5321;
  --brand-ink: #ffffff;
}

Colors that work with #4d5321

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#E4E8C5
Hairlines and dividers
Muted text#919B4B
Captions on the surface
Accent#1F2655
Second voice, not a rival
Dark variant#555B24
Hover, pressed, headers
Light variant#F6F8ED
Selected rows, tints
Dark surface#222414
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 #4d5321

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#272153
Analogous left#534021
Analogous right#345321
Split-complement 1#213453
Split-complement 2#402153
Triadic 1#214D53
Triadic 2#53214D
Tetradic#215340

RGB percentages

Red30.2%
Green32.5%
Blue12.9%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow60.2%
Key (black)67.5%

Color previews

#4d5321 text on a black background

contrast 2.57:1

Card sample

#4d5321 text on a white background

contrast 8.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4d5321

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.

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

#4d5321, answered

What color is #4d5321?

#4d5321 is a deep soft yellow, closest to Dark Olive Green (ΔE2000 8.8). It sits at 67° on the hue wheel with 43% saturation and 23% lightness, which reads as warm.

What is the RGB value of #4d5321?

rgb(77, 83, 33) — 77 red, 83 green and 33 blue out of 255, or 30.2% / 32.5% / 12.9% by channel.

Is #4d5321 a light or a dark color?

It is a dark color. Relative luminance is 0.0787 and perceived brightness is 30%, so white text on it reaches 8.16:1.

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

White. It scores 8.16:1 against #4d5321, versus 2.57:1 for black — AAA at any size.

What is the complementary color of #4d5321?

#272153 sits directly opposite on the wheel. Softer options are the split-complements #213453 and #402153, which give the same contrast with far less vibration.

What colors go well with #4d5321?

For interface work: #FAFAF4 as the surface, #E4E8C5 for borders, #919B4B for secondary text, #1F2655 as an accent and #555B24 for hover and pressed states. For a palette, the analogous pair #534021 and #345321 stays calm, while #272153 is the loudest partner.

What is #4d5321 in CMYK for printing?

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

Is #4d5321 warm or cool?

Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #534721; nudged cooler, #3B5420.

Work with #4d5321 in the Color Lab