Skip to content

#4f552f

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

RGB
79, 85, 47
HSL
70°, 29%, 26%
CMYK
7, 0, 45, 67
Luminance
0.0836

At a glance

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

Hex
#4f552f
Hue
70°
yellow
Saturation
29%
soft
Lightness
26%
dark
Brightness
33%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0836
WCAG relative
Temperature
Warm
36/100 cool
Color family
Yellow
Tone
Soft
Best ink
White
7.86:1
Closest name
Dark Olive Green
ΔE2000 9
Where it sits
Hue70° of 360°
Saturation29%
Lightness26%
Temperature
Warm ← → Cool36% 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#4f552f
RGBrgb(79, 85, 47)
HSLhsl(70, 29%, 26%)
CMYKcmyk(7%, 0%, 45%, 67%)
LABlab(34.7 -9.2 21.3)
LCHlch(34.7 23.3 113.4)
OKLCHoklch(0.434 0.058 116.2)
Decimal5199151
Display P3color(display-p3 0.310 0.333 0.184)

Copy-ready code

/* CSS */
color: #4f552f;
background-color: #4f552f;
/* Tailwind (arbitrary) */
class="text-[#4f552f] bg-[#4f552f]"
/* SCSS */
$brand: #4f552f;
/* SwiftUI */
Color(red: 0.310, green: 0.333, blue: 0.184)
/* Android */
Color.parseColor("#4f552f")
/* Flutter */
Color(0xFF4F552F)
/* Python / OpenCV (BGR) */
(47, 85, 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 #4f552f · 7.86:1
Use #ffffffAAA at every size.
Aa
White text · 7.86:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.67:1
AA fail · AA large fail · AAA fail
Reading the other direction: #4f552f as text scores 7.86:1 on white and 2.67:1 on black.

Accessibility — WCAG contrast

Aa
#4f552f on white: 7.86:1
AA ✓ pass · AA-large · AAA
Aa
#4f552f on black: 2.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5A512C
deuteranopia · #595231
tritanopia · #53514C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #4f552f 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
#F2F3EC
#E4E6D5
#D2D7B7
#BBC393
#A5AF6E
#929E57
#7A8349
#62693A
#4f552f
#2D301C
Base = 900Lightest = 50 · #F9F9F6Darkest = 950 · #2D301C
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F2F3EC;
  --brand-200: #E4E6D5;
  --brand-300: #D2D7B7;
  --brand-400: #BBC393;
  --brand-500: #A5AF6E;
  --brand-600: #929E57;
  --brand-700: #7A8349;
  --brand-800: #62693A;
  --brand-900: #4f552f;
  --brand-950: #2D301C;
  --brand: #4f552f;
  --brand-ink: #ffffff;
}

Colors that work with #4f552f

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#F9FAF5
Tinted page background
Border#DEE2CA
Hairlines and dividers
Muted text#899452
Captions on the surface
Accent#2C3058
Second voice, not a rival
Dark variant#4C522D
Hover, pressed, headers
Light variant#F5F6EF
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 #4f552f

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#352F55
Analogous left#55482F
Analogous right#3C552F
Split-complement 1#2F3C55
Split-complement 2#482F55
Triadic 1#2F4F55
Triadic 2#552F4F
Tetradic#2F5548

RGB percentages

Red31.0%
Green33.3%
Blue18.4%

CMYK percentages

Cyan7.1%
Magenta0.0%
Yellow44.7%
Key (black)66.7%

Color previews

#4f552f text on a black background

contrast 2.67:1

Card sample

#4f552f text on a white background

contrast 7.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f552f

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.

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

#4f552f, answered

What color is #4f552f?

#4f552f is a dark soft yellow, closest to Dark Olive Green (ΔE2000 9). It sits at 70° on the hue wheel with 29% saturation and 26% lightness, which reads as warm.

What is the RGB value of #4f552f?

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

Is #4f552f a light or a dark color?

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

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

White. It scores 7.86:1 against #4f552f, versus 2.67:1 for black — AAA at any size.

What is the complementary color of #4f552f?

#352F55 sits directly opposite on the wheel. Softer options are the split-complements #2F3C55 and #482F55, which give the same contrast with far less vibration.

What colors go well with #4f552f?

For interface work: #F9FAF5 as the surface, #DEE2CA for borders, #899452 for secondary text, #2C3058 as an accent and #4C522D for hover and pressed states. For a palette, the analogous pair #55482F and #3C552F stays calm, while #352F55 is the loudest partner.

What is #4f552f in CMYK for printing?

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

Is #4f552f warm or cool?

Warm — it scores 36 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #554D2F; nudged cooler, #41562E.

Work with #4f552f in the Color Lab