Skip to content

#4f5c13

a deep, vivid green · warm · closest name: Dark Olive Green

RGB
79, 92, 19
HSL
71°, 66%, 22%
CMYK
14, 0, 79, 64
Luminance
0.0936

At a glance

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

Hex
#4f5c13
Hue
71°
green
Saturation
66%
vivid
Lightness
22%
deep
Brightness
36%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0936
WCAG relative
Temperature
Warm
34/100 cool
Color family
Green
Tone
Vivid
Best ink
White
7.31:1
Closest name
Dark Olive Green
ΔE2000 6.4
Where it sits
Hue71° of 360°
Saturation66%
Lightness22%
Temperature
Warm ← → Cool34% cool

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

Every format

HEX#4f5c13
RGBrgb(79, 92, 19)
HSLhsl(71, 66%, 22%)
CMYKcmyk(14%, 0%, 79%, 64%)
LABlab(36.7 -15.8 37.6)
LCHlch(36.7 40.8 112.8)
OKLCHoklch(0.449 0.096 119.4)
Decimal5200915
Display P3color(display-p3 0.310 0.361 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f5c13 on white: 7.31:1
AA ✓ pass · AA-large · AAA
Aa
#4f5c13 on black: 2.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #625605
deuteranopia · #615719
tritanopia · #54574E

Color scale — 50 to 950

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

#FAFBF3
#F5F8E8
#EAF1CB
#DFECA2
#CEE273
#BED945
#AECB2A
#91A923
#74871C
#4f5c13
#353D0F
Base = 900Lightest = 50 · #FAFBF3Darkest = 950 · #353D0F
:root {
  --brand-50: #FAFBF3;
  --brand-100: #F5F8E8;
  --brand-200: #EAF1CB;
  --brand-300: #DFECA2;
  --brand-400: #CEE273;
  --brand-500: #BED945;
  --brand-600: #AECB2A;
  --brand-700: #91A923;
  --brand-800: #74871C;
  --brand-900: #4f5c13;
  --brand-950: #353D0F;
  --brand: #4f5c13;
  --brand-ink: #ffffff;
}

Colors that work with #4f5c13

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#F9FAF4
Tinted page background
Border#E5EDC0
Hairlines and dividers
Muted text#8D9B4B
Captions on the surface
Accent#11165E
Second voice, not a rival
Dark variant#5B6A16
Hover, pressed, headers
Light variant#F8FBEA
Selected rows, tints
Dark surface#212414
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 #4f5c13

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
  • Text on black or near-black surfaces
  • 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#20135C
Analogous left#5C4513
Analogous right#2B5C13
Split-complement 1#132B5C
Split-complement 2#45135C
Triadic 1#134F5C
Triadic 2#5C134F
Tetradic#135C45

RGB percentages

Red31.0%
Green36.1%
Blue7.5%

CMYK percentages

Cyan14.1%
Magenta0.0%
Yellow79.3%
Key (black)63.9%

Color previews

#4f5c13 text on a black background

contrast 2.87:1

Card sample

#4f5c13 text on a white background

contrast 7.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f5c13

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.

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

#4f5c13, answered

What color is #4f5c13?

#4f5c13 is a deep vivid green, closest to Dark Olive Green (ΔE2000 6.4). It sits at 71° on the hue wheel with 66% saturation and 22% lightness, which reads as warm.

What is the RGB value of #4f5c13?

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

Is #4f5c13 a light or a dark color?

It is a dark color. Relative luminance is 0.0936 and perceived brightness is 33%, so white text on it reaches 7.31:1.

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

White. It scores 7.31:1 against #4f5c13, versus 2.87:1 for black — AAA at any size.

What is the complementary color of #4f5c13?

#20135C sits directly opposite on the wheel. Softer options are the split-complements #132B5C and #45135C, which give the same contrast with far less vibration.

What colors go well with #4f5c13?

For interface work: #F9FAF4 as the surface, #E5EDC0 for borders, #8D9B4B for secondary text, #11165E as an accent and #5B6A16 for hover and pressed states. For a palette, the analogous pair #5C4513 and #2B5C13 stays calm, while #20135C is the loudest partner.

What is #4f5c13 in CMYK for printing?

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

Is #4f5c13 warm or cool?

Warm — it scores 34 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5C4E13; nudged cooler, #345D12.

Work with #4f5c13 in the Color Lab