Skip to content

#4b7607

a deep, electric green · neutral · closest name: Dark Olive Green

RGB
75, 118, 7
HSL
83°, 89%, 25%
CMYK
36, 0, 94, 54
Luminance
0.1447

At a glance

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

Hex
#4b7607
Hue
83°
green
Saturation
89%
electric
Lightness
25%
deep
Brightness
46%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1447
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Green
Tone
Electric
Best ink
White
5.39:1
Closest name
Dark Olive Green
ΔE2000 7.4
Where it sits
Hue83° of 360°
Saturation89%
Lightness25%
Temperature
Warm ← → Cool44% 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#4b7607
RGBrgb(75, 118, 7)
HSLhsl(83, 89%, 25%)
CMYKcmyk(36%, 0%, 94%, 54%)
LABlab(44.9 -31.1 48.2)
LCHlch(44.9 57.3 122.9)
OKLCHoklch(0.515 0.137 130.6)
Decimal4945415
Display P3color(display-p3 0.294 0.463 0.027)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4b7607 on white: 5.39:1
AA ✓ pass · AA-large · AAA
Aa
#4b7607 on black: 3.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7C6C00
deuteranopia · #766918
tritanopia · #4D7064

Color scale — 50 to 950

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

#F9FDF2
#F2FBE5
#E4F8C4
#D2F995
#BCF660
#A5F22B
#93E70E
#7BC10B
#629A09
#4b7607
#2D4507
Base = 900Lightest = 50 · #F9FDF2Darkest = 950 · #2D4507
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F2FBE5;
  --brand-200: #E4F8C4;
  --brand-300: #D2F995;
  --brand-400: #BCF660;
  --brand-500: #A5F22B;
  --brand-600: #93E70E;
  --brand-700: #7BC10B;
  --brand-800: #629A09;
  --brand-900: #4b7607;
  --brand-950: #2D4507;
  --brand: #4b7607;
  --brand-ink: #ffffff;
}

Colors that work with #4b7607

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#F8FAF4
Tinted page background
Border#DBEDC0
Hairlines and dividers
Muted text#7C9B4B
Captions on the surface
Accent#140478
Second voice, not a rival
Dark variant#4D7807
Hover, pressed, headers
Light variant#F5FEE7
Selected rows, tints
Dark surface#1E2414
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 #4b7607

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#320776
Analogous left#766907
Analogous right#147607
Split-complement 1#071476
Split-complement 2#690776
Triadic 1#074B76
Triadic 2#76074B
Tetradic#077669

RGB percentages

Red29.4%
Green46.3%
Blue2.7%

CMYK percentages

Cyan36.4%
Magenta0.0%
Yellow94.1%
Key (black)53.7%

Color previews

#4b7607 text on a black background

contrast 3.89:1

Card sample

#4b7607 text on a white background

contrast 5.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(75, 118, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(75, 118, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4b7607;
background: linear-gradient(135deg, #4b7607, #07760D);

Monochromatic scale

Palettes built from #4b7607

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.

#4b7607 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#4b7607, answered

What color is #4b7607?

#4b7607 is a deep electric green, closest to Dark Olive Green (ΔE2000 7.4). It sits at 83° on the hue wheel with 89% saturation and 25% lightness, which reads as neutral.

What is the RGB value of #4b7607?

rgb(75, 118, 7) — 75 red, 118 green and 7 blue out of 255, or 29.4% / 46.3% / 2.7% by channel.

Is #4b7607 a light or a dark color?

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

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

White. It scores 5.39:1 against #4b7607, versus 3.89:1 for black — AA at any size.

What is the complementary color of #4b7607?

#320776 sits directly opposite on the wheel. Softer options are the split-complements #071476 and #690776, which give the same contrast with far less vibration.

What colors go well with #4b7607?

For interface work: #F8FAF4 as the surface, #DBEDC0 for borders, #7C9B4B for secondary text, #140478 as an accent and #4D7807 for hover and pressed states. For a palette, the analogous pair #766907 and #147607 stays calm, while #320776 is the loudest partner.

What is #4b7607 in CMYK for printing?

cmyk(36%, 0%, 94%, 54%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #4b7607 warm or cool?

Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #747607; nudged cooler, #227706.

Work with #4b7607 in the Color Lab