Skip to content

#4e5c21

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

RGB
78, 92, 33
HSL
74°, 47%, 25%
CMYK
15, 0, 64, 64
Luminance
0.0938

At a glance

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

Hex
#4e5c21
Hue
74°
green
Saturation
47%
vivid
Lightness
25%
deep
Brightness
36%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0938
WCAG relative
Temperature
Warm
37/100 cool
Color family
Green
Tone
Vivid
Best ink
White
7.30:1
Closest name
Dark Olive Green
ΔE2000 5.4
Where it sits
Hue74° of 360°
Saturation47%
Lightness25%
Temperature
Warm ← → Cool37% 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#4e5c21
RGBrgb(78, 92, 33)
HSLhsl(74, 47%, 25%)
CMYKcmyk(15%, 0%, 64%, 64%)
LABlab(36.7 -15.2 31.4)
LCHlch(36.7 34.9 115.9)
OKLCHoklch(0.449 0.085 121.2)
Decimal5135393
Display P3color(display-p3 0.306 0.361 0.129)

Copy-ready code

/* CSS */
color: #4e5c21;
background-color: #4e5c21;
/* Tailwind (arbitrary) */
class="text-[#4e5c21] bg-[#4e5c21]"
/* SCSS */
$brand: #4e5c21;
/* SwiftUI */
Color(red: 0.306, green: 0.361, blue: 0.129)
/* Android */
Color.parseColor("#4e5c21")
/* Flutter */
Color(0xFF4E5C21)
/* Python / OpenCV (BGR) */
(33, 92, 78)

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 #4e5c21 · 7.30:1
Use #ffffffAAA at every size.
Aa
White text · 7.30:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.88:1
AA fail · AA large fail · AAA fail
Reading the other direction: #4e5c21 as text scores 7.30:1 on white and 2.88:1 on black.

Accessibility — WCAG contrast

Aa
#4e5c21 on white: 7.30:1
AA ✓ pass · AA-large · AAA
Aa
#4e5c21 on black: 2.88:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #62571A
deuteranopia · #605625
tritanopia · #52574F

Color scale — 50 to 950

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

#F9FAF5
#F3F5EA
#E5ECD0
#D5E1AC
#C0D383
#ABC45A
#99B441
#7F9636
#66782B
#4e5c21
#2F3716
Base = 900Lightest = 50 · #F9FAF5Darkest = 950 · #2F3716
:root {
  --brand-50: #F9FAF5;
  --brand-100: #F3F5EA;
  --brand-200: #E5ECD0;
  --brand-300: #D5E1AC;
  --brand-400: #C0D383;
  --brand-500: #ABC45A;
  --brand-600: #99B441;
  --brand-700: #7F9636;
  --brand-800: #66782B;
  --brand-900: #4e5c21;
  --brand-950: #2F3716;
  --brand: #4e5c21;
  --brand-ink: #ffffff;
}

Colors that work with #4e5c21

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#E0E9C3
Hairlines and dividers
Muted text#889B4B
Captions on the surface
Accent#1E1F5E
Second voice, not a rival
Dark variant#505E22
Hover, pressed, headers
Light variant#F5F8EC
Selected rows, tints
Dark surface#202414
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 #4e5c21

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#2F215C
Analogous left#5C4C21
Analogous right#315C21
Split-complement 1#21315C
Split-complement 2#4C215C
Triadic 1#214E5C
Triadic 2#5C214E
Tetradic#215C4C

RGB percentages

Red30.6%
Green36.1%
Blue12.9%

CMYK percentages

Cyan15.2%
Magenta0.0%
Yellow64.1%
Key (black)63.9%

Color previews

#4e5c21 text on a black background

contrast 2.88:1

Card sample

#4e5c21 text on a white background

contrast 7.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(78, 92, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(78, 92, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4e5c21;
background: linear-gradient(135deg, #4e5c21, #275C21);

Monochromatic scale

Palettes built from #4e5c21

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.

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

#4e5c21, answered

What color is #4e5c21?

#4e5c21 is a deep vivid green, closest to Dark Olive Green (ΔE2000 5.4). It sits at 74° on the hue wheel with 47% saturation and 25% lightness, which reads as warm.

What is the RGB value of #4e5c21?

rgb(78, 92, 33) — 78 red, 92 green and 33 blue out of 255, or 30.6% / 36.1% / 12.9% by channel.

Is #4e5c21 a light or a dark color?

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

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

White. It scores 7.30:1 against #4e5c21, versus 2.88:1 for black — AAA at any size.

What is the complementary color of #4e5c21?

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

What colors go well with #4e5c21?

For interface work: #F9FAF4 as the surface, #E0E9C3 for borders, #889B4B for secondary text, #1E1F5E as an accent and #505E22 for hover and pressed states. For a palette, the analogous pair #5C4C21 and #315C21 stays calm, while #2F215C is the loudest partner.

What is #4e5c21 in CMYK for printing?

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

Is #4e5c21 warm or cool?

Warm — it scores 37 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5C5421; nudged cooler, #385D20.

Work with #4e5c21 in the Color Lab