Skip to content

#4f6f2f

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

RGB
79, 111, 47
HSL
90°, 41%, 31%
CMYK
29, 0, 58, 57
Luminance
0.1324

At a glance

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

Hex
#4f6f2f
Hue
90°
green
Saturation
41%
soft
Lightness
31%
dark
Brightness
44%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1324
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Green
Tone
Soft
Best ink
White
5.76:1
Closest name
Dark Olive Green
ΔE2000 2.5
Where it sits
Hue90° of 360°
Saturation41%
Lightness31%
Temperature
Warm ← → Cool50% 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#4f6f2f
RGBrgb(79, 111, 47)
HSLhsl(90, 41%, 31%)
CMYKcmyk(29%, 0%, 58%, 57%)
LABlab(43.1 -23.4 31.5)
LCHlch(43.1 39.3 126.6)
OKLCHoklch(0.502 0.099 131.2)
Decimal5205807
Display P3color(display-p3 0.310 0.435 0.184)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f6f2f on white: 5.76:1
AA ✓ pass · AA-large · AAA
Aa
#4f6f2f on black: 3.65:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #746729
deuteranopia · #6F6533
tritanopia · #506B61

Color scale — 50 to 950

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

#F7FAF5
#F0F5EB
#DEEAD2
#C7DEB0
#ABCD89
#8FBC61
#7AAC49
#668F3D
#4f6f2f
#3D5426
#263518
Base = 800Lightest = 50 · #F7FAF5Darkest = 950 · #263518
:root {
  --brand-50: #F7FAF5;
  --brand-100: #F0F5EB;
  --brand-200: #DEEAD2;
  --brand-300: #C7DEB0;
  --brand-400: #ABCD89;
  --brand-500: #8FBC61;
  --brand-600: #7AAC49;
  --brand-700: #668F3D;
  --brand-800: #4f6f2f;
  --brand-900: #3D5426;
  --brand-950: #263518;
  --brand: #4f6f2f;
  --brand-ink: #ffffff;
}

Colors that work with #4f6f2f

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#F7FAF4
Tinted page background
Border#D6E7C6
Hairlines and dividers
Muted text#739B4B
Captions on the surface
Accent#3D2C72
Second voice, not a rival
Dark variant#405A26
Hover, pressed, headers
Light variant#F2F7ED
Selected rows, tints
Dark surface#1C2414
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 #4f6f2f

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#4F2F6F
Analogous left#6F6F2F
Analogous right#2F6F2F
Split-complement 1#2F2F6F
Split-complement 2#6F2F6F
Triadic 1#2F4F6F
Triadic 2#6F2F4F
Tetradic#2F6F6F

RGB percentages

Red31.0%
Green43.5%
Blue18.4%

CMYK percentages

Cyan28.8%
Magenta0.0%
Yellow57.7%
Key (black)56.5%

Color previews

#4f6f2f text on a black background

contrast 3.65:1

Card sample

#4f6f2f text on a white background

contrast 5.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f6f2f

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.

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

#4f6f2f, answered

What color is #4f6f2f?

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

What is the RGB value of #4f6f2f?

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

Is #4f6f2f a light or a dark color?

It is a dark color. Relative luminance is 0.1324 and perceived brightness is 38%, so white text on it reaches 5.76:1.

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

White. It scores 5.76:1 against #4f6f2f, versus 3.65:1 for black — AA at any size.

What is the complementary color of #4f6f2f?

#4F2F6F sits directly opposite on the wheel. Softer options are the split-complements #2F2F6F and #6F2F6F, which give the same contrast with far less vibration.

What colors go well with #4f6f2f?

For interface work: #F7FAF4 as the surface, #D6E7C6 for borders, #739B4B for secondary text, #3D2C72 as an accent and #405A26 for hover and pressed states. For a palette, the analogous pair #6F6F2F and #2F6F2F stays calm, while #4F2F6F is the loudest partner.

What is #4f6f2f in CMYK for printing?

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

Is #4f6f2f warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #676F2F; nudged cooler, #36712D.

Work with #4f6f2f in the Color Lab