Skip to content

#4f8513

a dark, electric green · neutral · closest name: Olive Drab

RGB
79, 133, 19
HSL
88°, 75%, 30%
CMYK
41, 0, 86, 48
Luminance
0.1848

At a glance

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

Hex
#4f8513
Hue
88°
green
Saturation
75%
electric
Lightness
30%
dark
Brightness
52%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1848
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Green
Tone
Electric
Best ink
Black
4.70:1
Closest name
Olive Drab
ΔE2000 5.6
Where it sits
Hue88° of 360°
Saturation75%
Lightness30%
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#4f8513
RGBrgb(79, 133, 19)
HSLhsl(88, 75%, 30%)
CMYKcmyk(41%, 0%, 86%, 48%)
LABlab(50.1 -35.9 49.9)
LCHlch(50.1 61.5 125.7)
OKLCHoklch(0.558 0.149 132.9)
Decimal5211411
Display P3color(display-p3 0.310 0.522 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f8513 on white: 4.47:1
AA ✗ fail · AA-large · AAA
Aa
#4f8513 on black: 4.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8B7A00
deuteranopia · #847621
tritanopia · #4F7F71

Color scale — 50 to 950

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

#F8FCF3
#F0F9E7
#DFF4C8
#C9F19D
#AEEA6C
#93E33B
#7FD61F
#6AB319
#4f8513
#3F6713
#28410C
Base = 800Lightest = 50 · #F8FCF3Darkest = 950 · #28410C
:root {
  --brand-50: #F8FCF3;
  --brand-100: #F0F9E7;
  --brand-200: #DFF4C8;
  --brand-300: #C9F19D;
  --brand-400: #AEEA6C;
  --brand-500: #93E33B;
  --brand-600: #7FD61F;
  --brand-700: #6AB319;
  --brand-800: #4f8513;
  --brand-900: #3F6713;
  --brand-950: #28410C;
  --brand: #4f8513;
  --brand-ink: #000000;
}

Colors that work with #4f8513

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8FAF4
Tinted page background
Border#D7EDC0
Hairlines and dividers
Muted text#759B4B
Captions on the surface
Accent#2B1088
Second voice, not a rival
Dark variant#427010
Hover, pressed, headers
Light variant#F3FCE9
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 #4f8513

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • 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
  • Small text on white — under 4.5:1
  • 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#491385
Analogous left#858213
Analogous right#168513
Split-complement 1#131685
Split-complement 2#821385
Triadic 1#134F85
Triadic 2#85134F
Tetradic#138582

RGB percentages

Red31.0%
Green52.2%
Blue7.5%

CMYK percentages

Cyan40.6%
Magenta0.0%
Yellow85.7%
Key (black)47.8%

Color previews

#4f8513 text on a black background

contrast 4.70:1

Card sample

#4f8513 text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 133, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 133, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f8513;
background: linear-gradient(135deg, #4f8513, #138523);

Monochromatic scale

Palettes built from #4f8513

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.

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

#4f8513, answered

What color is #4f8513?

#4f8513 is a dark electric green, closest to Olive Drab (ΔE2000 5.6). It sits at 88° on the hue wheel with 75% saturation and 30% lightness, which reads as neutral.

What is the RGB value of #4f8513?

rgb(79, 133, 19) — 79 red, 133 green and 19 blue out of 255, or 31% / 52.2% / 7.5% by channel.

Is #4f8513 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1848 and perceived brightness is 43%, so black text on it reaches 4.70:1.

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

Black. It scores 4.70:1 against #4f8513, versus 4.47:1 for white — AA at any size.

What is the complementary color of #4f8513?

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

What colors go well with #4f8513?

For interface work: #F8FAF4 as the surface, #D7EDC0 for borders, #759B4B for secondary text, #2B1088 as an accent and #427010 for hover and pressed states. For a palette, the analogous pair #858213 and #168513 stays calm, while #491385 is the loudest partner.

What is #4f8513 in CMYK for printing?

cmyk(41%, 0%, 86%, 48%). 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 #4f8513 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 #798513; nudged cooler, #248711.

Work with #4f8513 in the Color Lab