Skip to content

#4dba21

a dark, vivid green · neutral · closest name: Lime Green

RGB
77, 186, 33
HSL
103°, 70%, 43%
CMYK
59, 0, 82, 27
Luminance
0.3681

At a glance

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

Hex
#4dba21
Hue
103°
green
Saturation
70%
vivid
Lightness
43%
dark
Brightness
73%
HSV value
Perceived
58%
weighted brightness
Luminance
0.3681
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.36:1
Closest name
Lime Green
ΔE2000 5.3
Where it sits
Hue103° of 360°
Saturation70%
Lightness43%
Temperature
Warm ← → Cool55% 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#4dba21
RGBrgb(77, 186, 33)
HSLhsl(103, 70%, 43%)
CMYKcmyk(59%, 0%, 82%, 27%)
LABlab(67.1 -56.6 61.6)
LCHlch(67.1 83.6 132.6)
OKLCHoklch(0.698 0.207 139.0)
Decimal5093921
Display P3color(display-p3 0.302 0.729 0.129)

Copy-ready code

/* CSS */
color: #4dba21;
background-color: #4dba21;
/* Tailwind (arbitrary) */
class="text-[#4dba21] bg-[#4dba21]"
/* SCSS */
$brand: #4dba21;
/* SwiftUI */
Color(red: 0.302, green: 0.729, blue: 0.129)
/* Android */
Color.parseColor("#4dba21")
/* Flutter */
Color(0xFF4DBA21)
/* Python / OpenCV (BGR) */
(33, 186, 77)

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

Accessibility — WCAG contrast

Aa
#4dba21 on white: 2.51:1
AA ✗ fail · AA-large · AAA
Aa
#4dba21 on black: 8.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C0A900
deuteranopia · #B2A034
tritanopia · #41B39F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #4dba21 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6FCF3
#ECF8E7
#D5F2C9
#B6EEA0
#92E670
#6EDD40
#56D025
#4dba21
#398B19
#2D6516
#1C3F0E
Base = 700Lightest = 50 · #F6FCF3Darkest = 950 · #1C3F0E
:root {
  --brand-50: #F6FCF3;
  --brand-100: #ECF8E7;
  --brand-200: #D5F2C9;
  --brand-300: #B6EEA0;
  --brand-400: #92E670;
  --brand-500: #6EDD40;
  --brand-600: #56D025;
  --brand-700: #4dba21;
  --brand-800: #398B19;
  --brand-900: #2D6516;
  --brand-950: #1C3F0E;
  --brand: #4dba21;
  --brand-ink: #000000;
}

Colors that work with #4dba21

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#F6FAF4
Tinted page background
Border#CDEDC0
Hairlines and dividers
Muted text#629B4B
Captions on the surface
Accent#671DBE
Second voice, not a rival
Dark variant#2D6C13
Hover, pressed, headers
Light variant#EEFBE9
Selected rows, tints
Dark surface#182414
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 #4dba21

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#8E21BA
Analogous left#99BA21
Analogous right#21BA41
Split-complement 1#4121BA
Split-complement 2#BA2199
Triadic 1#214DBA
Triadic 2#BA214D
Tetradic#2199BA

RGB percentages

Red30.2%
Green72.9%
Blue12.9%

CMYK percentages

Cyan58.6%
Magenta0.0%
Yellow82.3%
Key (black)27.1%

Color previews

#4dba21 text on a black background

contrast 8.36:1

Card sample

#4dba21 text on a white background

contrast 2.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(77, 186, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 186, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4dba21;
background: linear-gradient(135deg, #4dba21, #21BA5B);

Monochromatic scale

Palettes built from #4dba21

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.

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

#4dba21, answered

What color is #4dba21?

#4dba21 is a dark vivid green, closest to Lime Green (ΔE2000 5.3). It sits at 103° on the hue wheel with 70% saturation and 43% lightness, which reads as neutral.

What is the RGB value of #4dba21?

rgb(77, 186, 33) — 77 red, 186 green and 33 blue out of 255, or 30.2% / 72.9% / 12.9% by channel.

Is #4dba21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3681 and perceived brightness is 58%, so black text on it reaches 8.36:1.

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

Black. It scores 8.36:1 against #4dba21, versus 2.51:1 for white — AAA at any size.

What is the complementary color of #4dba21?

#8E21BA sits directly opposite on the wheel. Softer options are the split-complements #4121BA and #BA2199, which give the same contrast with far less vibration.

What colors go well with #4dba21?

For interface work: #F6FAF4 as the surface, #CDEDC0 for borders, #629B4B for secondary text, #671DBE as an accent and #2D6C13 for hover and pressed states. For a palette, the analogous pair #99BA21 and #21BA41 stays calm, while #8E21BA is the loudest partner.

What is #4dba21 in CMYK for printing?

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

Is #4dba21 warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #85BA21; nudged cooler, #1FBC2B.

Work with #4dba21 in the Color Lab