Skip to content

#4b751f

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

RGB
75, 117, 31
HSL
89°, 58%, 29%
CMYK
36, 0, 74, 54
Luminance
0.1432

At a glance

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

Hex
#4b751f
Hue
89°
green
Saturation
58%
vivid
Lightness
29%
dark
Brightness
46%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1432
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Green
Tone
Vivid
Best ink
White
5.44:1
Closest name
Dark Olive Green
ΔE2000 5.7
Where it sits
Hue89° of 360°
Saturation58%
Lightness29%
Temperature
Warm ← → Cool49% 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#4b751f
RGBrgb(75, 117, 31)
HSLhsl(89, 58%, 29%)
CMYKcmyk(36%, 0%, 74%, 54%)
LABlab(44.7 -29.4 40.7)
LCHlch(44.7 50.2 125.9)
OKLCHoklch(0.513 0.124 132.1)
Decimal4945183
Display P3color(display-p3 0.294 0.459 0.122)

Copy-ready code

/* CSS */
color: #4b751f;
background-color: #4b751f;
/* Tailwind (arbitrary) */
class="text-[#4b751f] bg-[#4b751f]"
/* SCSS */
$brand: #4b751f;
/* SwiftUI */
Color(red: 0.294, green: 0.459, blue: 0.122)
/* Android */
Color.parseColor("#4b751f")
/* Flutter */
Color(0xFF4B751F)
/* Python / OpenCV (BGR) */
(31, 117, 75)

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 #4b751f · 5.44:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.44:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.86:1
AA fail · AA large pass · AAA fail
Reading the other direction: #4b751f as text scores 5.44:1 on white and 3.86:1 on black.

Accessibility — WCAG contrast

Aa
#4b751f on white: 5.44:1
AA ✓ pass · AA-large · AAA
Aa
#4b751f on black: 3.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7A6C11
deuteranopia · #746927
tritanopia · #4C7064

Color scale — 50 to 950

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

#F7FBF4
#F0F7E9
#DEEFCD
#C8E7A6
#ACDC7A
#90D04E
#7CC233
#67A12B
#4b751f
#3E5E1C
#273B12
Base = 800Lightest = 50 · #F7FBF4Darkest = 950 · #273B12
:root {
  --brand-50: #F7FBF4;
  --brand-100: #F0F7E9;
  --brand-200: #DEEFCD;
  --brand-300: #C8E7A6;
  --brand-400: #ACDC7A;
  --brand-500: #90D04E;
  --brand-600: #7CC233;
  --brand-700: #67A12B;
  --brand-800: #4b751f;
  --brand-900: #3E5E1C;
  --brand-950: #273B12;
  --brand: #4b751f;
  --brand-ink: #ffffff;
}

Colors that work with #4b751f

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#D7EDC0
Hairlines and dividers
Muted text#749B4B
Captions on the surface
Accent#321C78
Second voice, not a rival
Dark variant#41651B
Hover, pressed, headers
Light variant#F2FAEB
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 #4b751f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#491F75
Analogous left#75741F
Analogous right#20751F
Split-complement 1#1F2075
Split-complement 2#741F75
Triadic 1#1F4B75
Triadic 2#751F4B
Tetradic#1F7574

RGB percentages

Red29.4%
Green45.9%
Blue12.2%

CMYK percentages

Cyan35.9%
Magenta0.0%
Yellow73.5%
Key (black)54.1%

Color previews

#4b751f text on a black background

contrast 3.86:1

Card sample

#4b751f text on a white background

contrast 5.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(75, 117, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(75, 117, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4b751f;
background: linear-gradient(135deg, #4b751f, #1F752C);

Monochromatic scale

Palettes built from #4b751f

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.

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

#4b751f, answered

What color is #4b751f?

#4b751f is a dark vivid green, closest to Dark Olive Green (ΔE2000 5.7). It sits at 89° on the hue wheel with 58% saturation and 29% lightness, which reads as neutral.

What is the RGB value of #4b751f?

rgb(75, 117, 31) — 75 red, 117 green and 31 blue out of 255, or 29.4% / 45.9% / 12.2% by channel.

Is #4b751f a light or a dark color?

It is a dark color. Relative luminance is 0.1432 and perceived brightness is 39%, so white text on it reaches 5.44:1.

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

White. It scores 5.44:1 against #4b751f, versus 3.86:1 for black — AA at any size.

What is the complementary color of #4b751f?

#491F75 sits directly opposite on the wheel. Softer options are the split-complements #1F2075 and #741F75, which give the same contrast with far less vibration.

What colors go well with #4b751f?

For interface work: #F7FAF4 as the surface, #D7EDC0 for borders, #749B4B for secondary text, #321C78 as an accent and #41651B for hover and pressed states. For a palette, the analogous pair #75741F and #20751F stays calm, while #491F75 is the loudest partner.

What is #4b751f in CMYK for printing?

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

Is #4b751f warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6A751F; nudged cooler, #2A761E.

Work with #4b751f in the Color Lab