Skip to content

#4f4b2c

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

RGB
79, 75, 44
HSL
53°, 29%, 24%
CMYK
0, 5, 44, 69
Luminance
0.0688

At a glance

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

Hex
#4f4b2c
Hue
53°
yellow
Saturation
29%
soft
Lightness
24%
deep
Brightness
31%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0688
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Soft
Best ink
White
8.84:1
Closest name
Dark Olive Green
ΔE2000 13.9
Where it sits
Hue53° of 360°
Saturation29%
Lightness24%
Temperature
Warm ← → Cool25% 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#4f4b2c
RGBrgb(79, 75, 44)
HSLhsl(53, 29%, 24%)
CMYKcmyk(0%, 5%, 44%, 69%)
LABlab(31.5 -3.6 19.1)
LCHlch(31.5 19.4 100.8)
OKLCHoklch(0.408 0.048 101.9)
Decimal5196588
Display P3color(display-p3 0.310 0.294 0.173)

Copy-ready code

/* CSS */
color: #4f4b2c;
background-color: #4f4b2c;
/* Tailwind (arbitrary) */
class="text-[#4f4b2c] bg-[#4f4b2c]"
/* SCSS */
$brand: #4f4b2c;
/* SwiftUI */
Color(red: 0.310, green: 0.294, blue: 0.173)
/* Android */
Color.parseColor("#4f4b2c")
/* Flutter */
Color(0xFF4F4B2C)
/* Python / OpenCV (BGR) */
(44, 75, 79)

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

Accessibility — WCAG contrast

Aa
#4f4b2c on white: 8.84:1
AA ✓ pass · AA-large · AAA
Aa
#4f4b2c on black: 2.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #50492A
deuteranopia · #524B2D
tritanopia · #544743

Color scale — 50 to 950

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

#F9F9F6
#F3F2EC
#E6E4D6
#D7D3B7
#C3BD93
#AFA76F
#9D9558
#837C49
#69643A
#4f4b2c
#302E1C
Base = 900Lightest = 50 · #F9F9F6Darkest = 950 · #302E1C
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F3F2EC;
  --brand-200: #E6E4D6;
  --brand-300: #D7D3B7;
  --brand-400: #C3BD93;
  --brand-500: #AFA76F;
  --brand-600: #9D9558;
  --brand-700: #837C49;
  --brand-800: #69643A;
  --brand-900: #4f4b2c;
  --brand-950: #302E1C;
  --brand: #4f4b2c;
  --brand-ink: #ffffff;
}

Colors that work with #4f4b2c

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#FAF9F5
Tinted page background
Border#E2DFCB
Hairlines and dividers
Muted text#938C52
Captions on the surface
Accent#293851
Second voice, not a rival
Dark variant#524E2E
Hover, pressed, headers
Light variant#F6F5EF
Selected rows, tints
Dark surface#242214
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 #4f4b2c

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#2C304F
Analogous left#4F392C
Analogous right#414F2C
Split-complement 1#2C414F
Split-complement 2#392C4F
Triadic 1#2C4F4B
Triadic 2#4B2C4F
Tetradic#2C4F39

RGB percentages

Red31.0%
Green29.4%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow44.3%
Key (black)69.0%

Color previews

#4f4b2c text on a black background

contrast 2.38:1

Card sample

#4f4b2c text on a white background

contrast 8.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 75, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 75, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f4b2c;
background: linear-gradient(135deg, #4f4b2c, #3C4F2C);

Monochromatic scale

Palettes built from #4f4b2c

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.

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

#4f4b2c, answered

What color is #4f4b2c?

#4f4b2c is a deep soft yellow, closest to Dark Olive Green (ΔE2000 13.9). It sits at 53° on the hue wheel with 29% saturation and 24% lightness, which reads as warm.

What is the RGB value of #4f4b2c?

rgb(79, 75, 44) — 79 red, 75 green and 44 blue out of 255, or 31% / 29.4% / 17.3% by channel.

Is #4f4b2c a light or a dark color?

It is a dark color. Relative luminance is 0.0688 and perceived brightness is 29%, so white text on it reaches 8.84:1.

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

White. It scores 8.84:1 against #4f4b2c, versus 2.38:1 for black — AAA at any size.

What is the complementary color of #4f4b2c?

#2C304F sits directly opposite on the wheel. Softer options are the split-complements #2C414F and #392C4F, which give the same contrast with far less vibration.

What colors go well with #4f4b2c?

For interface work: #FAF9F5 as the surface, #E2DFCB for borders, #938C52 for secondary text, #293851 as an accent and #524E2E for hover and pressed states. For a palette, the analogous pair #4F392C and #414F2C stays calm, while #2C304F is the loudest partner.

What is #4f4b2c in CMYK for printing?

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

Is #4f4b2c warm or cool?

Warm — it scores 25 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4F3E2C; nudged cooler, #47502B.

Work with #4f4b2c in the Color Lab