Skip to content

#4c6b21

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

RGB
76, 107, 33
HSL
85°, 53%, 28%
CMYK
29, 0, 69, 58
Luminance
0.1216

At a glance

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

Hex
#4c6b21
Hue
85°
green
Saturation
53%
vivid
Lightness
28%
dark
Brightness
42%
HSV value
Perceived
36%
weighted brightness
Luminance
0.1216
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Vivid
Best ink
White
6.12:1
Closest name
Dark Olive Green
ΔE2000 3
Where it sits
Hue85° of 360°
Saturation53%
Lightness28%
Temperature
Warm ← → Cool46% 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#4c6b21
RGBrgb(76, 107, 33)
HSLhsl(85, 53%, 28%)
CMYKcmyk(29%, 0%, 69%, 58%)
LABlab(41.5 -24.0 36.5)
LCHlch(41.5 43.7 123.3)
OKLCHoklch(0.487 0.108 129.2)
Decimal5008161
Display P3color(display-p3 0.298 0.420 0.129)

Copy-ready code

/* CSS */
color: #4c6b21;
background-color: #4c6b21;
/* Tailwind (arbitrary) */
class="text-[#4c6b21] bg-[#4c6b21]"
/* SCSS */
$brand: #4c6b21;
/* SwiftUI */
Color(red: 0.298, green: 0.420, blue: 0.129)
/* Android */
Color.parseColor("#4c6b21")
/* Flutter */
Color(0xFF4C6B21)
/* Python / OpenCV (BGR) */
(33, 107, 76)

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

Accessibility — WCAG contrast

Aa
#4c6b21 on white: 6.12:1
AA ✓ pass · AA-large · AAA
Aa
#4c6b21 on black: 3.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #706317
deuteranopia · #6C6127
tritanopia · #4E665C

Color scale — 50 to 950

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

#F8FBF4
#F1F6E9
#E0EDCE
#CCE5A9
#B2D77E
#98CA53
#85BB3A
#6F9C30
#597D26
#4c6b21
#293914
Base = 900Lightest = 50 · #F8FBF4Darkest = 950 · #293914
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F1F6E9;
  --brand-200: #E0EDCE;
  --brand-300: #CCE5A9;
  --brand-400: #B2D77E;
  --brand-500: #98CA53;
  --brand-600: #85BB3A;
  --brand-700: #6F9C30;
  --brand-800: #597D26;
  --brand-900: #4c6b21;
  --brand-950: #293914;
  --brand: #4c6b21;
  --brand-ink: #ffffff;
}

Colors that work with #4c6b21

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#DAECC1
Hairlines and dividers
Muted text#799B4B
Captions on the surface
Accent#2C1E6E
Second voice, not a rival
Dark variant#45611E
Hover, pressed, headers
Light variant#F3F9EC
Selected rows, tints
Dark surface#1D2414
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 #4c6b21

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#40216B
Analogous left#6B6521
Analogous right#276B21
Split-complement 1#21276B
Split-complement 2#65216B
Triadic 1#214C6B
Triadic 2#6B214C
Tetradic#216B65

RGB percentages

Red29.8%
Green42.0%
Blue12.9%

CMYK percentages

Cyan29.0%
Magenta0.0%
Yellow69.2%
Key (black)58.0%

Color previews

#4c6b21 text on a black background

contrast 3.43:1

Card sample

#4c6b21 text on a white background

contrast 6.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(76, 107, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(76, 107, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4c6b21;
background: linear-gradient(135deg, #4c6b21, #216B27);

Monochromatic scale

Palettes built from #4c6b21

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.

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

#4c6b21, answered

What color is #4c6b21?

#4c6b21 is a dark vivid green, closest to Dark Olive Green (ΔE2000 3). It sits at 85° on the hue wheel with 53% saturation and 28% lightness, which reads as neutral.

What is the RGB value of #4c6b21?

rgb(76, 107, 33) — 76 red, 107 green and 33 blue out of 255, or 29.8% / 42% / 12.9% by channel.

Is #4c6b21 a light or a dark color?

It is a dark color. Relative luminance is 0.1216 and perceived brightness is 36%, so white text on it reaches 6.12:1.

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

White. It scores 6.12:1 against #4c6b21, versus 3.43:1 for black — AA at any size.

What is the complementary color of #4c6b21?

#40216B sits directly opposite on the wheel. Softer options are the split-complements #21276B and #65216B, which give the same contrast with far less vibration.

What colors go well with #4c6b21?

For interface work: #F8FAF4 as the surface, #DAECC1 for borders, #799B4B for secondary text, #2C1E6E as an accent and #45611E for hover and pressed states. For a palette, the analogous pair #6B6521 and #276B21 stays calm, while #40216B is the loudest partner.

What is #4c6b21 in CMYK for printing?

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

Is #4c6b21 warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #676B21; nudged cooler, #306D20.

Work with #4c6b21 in the Color Lab