Skip to content

#4f6c39

a dark, soft green · neutral · closest name: Dark Olive Green

RGB
79, 108, 57
HSL
94°, 31%, 32%
CMYK
27, 0, 47, 58
Luminance
0.1268

At a glance

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

Hex
#4f6c39
Hue
94°
green
Saturation
31%
soft
Lightness
32%
dark
Brightness
42%
HSV value
Perceived
37%
weighted brightness
Luminance
0.1268
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Soft
Best ink
White
5.94:1
Closest name
Dark Olive Green
ΔE2000 3.2
Where it sits
Hue94° of 360°
Saturation31%
Lightness32%
Temperature
Warm ← → Cool52% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#4f6c39
RGBrgb(79, 108, 57)
HSLhsl(94, 31%, 32%)
CMYKcmyk(27%, 0%, 47%, 58%)
LABlab(42.3 -20.6 25.1)
LCHlch(42.3 32.5 129.4)
OKLCHoklch(0.495 0.083 132.9)
Decimal5205049
Display P3color(display-p3 0.310 0.424 0.224)

Copy-ready code

/* CSS */
color: #4f6c39;
background-color: #4f6c39;
/* Tailwind (arbitrary) */
class="text-[#4f6c39] bg-[#4f6c39]"
/* SCSS */
$brand: #4f6c39;
/* SwiftUI */
Color(red: 0.310, green: 0.424, blue: 0.224)
/* Android */
Color.parseColor("#4f6c39")
/* Flutter */
Color(0xFF4F6C39)
/* Python / OpenCV (BGR) */
(57, 108, 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 #4f6c39 · 5.94:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.94:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.54:1
AA fail · AA large pass · AAA fail
Reading the other direction: #4f6c39 as text scores 5.94:1 on white and 3.54:1 on black.

Accessibility — WCAG contrast

Aa
#4f6c39 on white: 5.94:1
AA ✓ pass · AA-large · AAA
Aa
#4f6c39 on black: 3.54:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #706535
deuteranopia · #6B633C
tritanopia · #506860

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #4f6c39 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F9F6
#EFF3EC
#DDE7D5
#C5D8B6
#A7C591
#8AB16C
#75A055
#628646
#4f6c39
#3B4F2C
#25311B
Base = 800Lightest = 50 · #F7F9F6Darkest = 950 · #25311B
:root {
  --brand-50: #F7F9F6;
  --brand-100: #EFF3EC;
  --brand-200: #DDE7D5;
  --brand-300: #C5D8B6;
  --brand-400: #A7C591;
  --brand-500: #8AB16C;
  --brand-600: #75A055;
  --brand-700: #628646;
  --brand-800: #4f6c39;
  --brand-900: #3B4F2C;
  --brand-950: #25311B;
  --brand: #4f6c39;
  --brand-ink: #ffffff;
}

Colors that work with #4f6c39

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#F7FAF5
Tinted page background
Border#D4E3CA
Hairlines and dividers
Muted text#6E964F
Captions on the surface
Accent#48366F
Second voice, not a rival
Dark variant#3D532C
Hover, pressed, headers
Light variant#F2F6EE
Selected rows, tints
Dark surface#1B2414
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 #4f6c39

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
  • Black text placed on it
  • 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#56396C
Analogous left#696C39
Analogous right#396C3D
Split-complement 1#3D396C
Split-complement 2#6C3969
Triadic 1#394F6C
Triadic 2#6C394F
Tetradic#39696C

RGB percentages

Red31.0%
Green42.4%
Blue22.4%

CMYK percentages

Cyan26.9%
Magenta0.0%
Yellow47.2%
Key (black)57.6%

Color previews

#4f6c39 text on a black background

contrast 3.54:1

Card sample

#4f6c39 text on a white background

contrast 5.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 108, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 108, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f6c39;
background: linear-gradient(135deg, #4f6c39, #396C45);

Monochromatic scale

Palettes built from #4f6c39

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.

#4f6c39 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#4f6c39, answered

What color is #4f6c39?

#4f6c39 is a dark soft green, closest to Dark Olive Green (ΔE2000 3.2). It sits at 94° on the hue wheel with 31% saturation and 32% lightness, which reads as neutral.

What is the RGB value of #4f6c39?

rgb(79, 108, 57) — 79 red, 108 green and 57 blue out of 255, or 31% / 42.4% / 22.4% by channel.

Is #4f6c39 a light or a dark color?

It is a dark color. Relative luminance is 0.1268 and perceived brightness is 37%, so white text on it reaches 5.94:1.

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

White. It scores 5.94:1 against #4f6c39, versus 3.54:1 for black — AA at any size.

What is the complementary color of #4f6c39?

#56396C sits directly opposite on the wheel. Softer options are the split-complements #3D396C and #6C3969, which give the same contrast with far less vibration.

What colors go well with #4f6c39?

For interface work: #F7FAF5 as the surface, #D4E3CA for borders, #6E964F for secondary text, #48366F as an accent and #3D532C for hover and pressed states. For a palette, the analogous pair #696C39 and #396C3D stays calm, while #56396C is the loudest partner.

What is #4f6c39 in CMYK for printing?

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

Is #4f6c39 warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #626C39; nudged cooler, #3B6E37.

Work with #4f6c39 in the Color Lab