Skip to content

#4df005

a balanced, electric green · neutral · closest name: Lime

RGB
77, 240, 5
HSL
102°, 96%, 48%
CMYK
68, 0, 98, 6
Luminance
0.6391

At a glance

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

Hex
#4df005
Hue
102°
green
Saturation
96%
electric
Lightness
48%
balanced
Brightness
94%
HSV value
Perceived
74%
weighted brightness
Luminance
0.6391
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.78:1
Closest name
Lime
ΔE2000 3.5
Where it sits
Hue102° of 360°
Saturation96%
Lightness48%
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#4df005
RGBrgb(77, 240, 5)
HSLhsl(102, 96%, 48%)
CMYKcmyk(68%, 0%, 98%, 6%)
LABlab(83.9 -74.9 80.0)
LCHlch(83.9 109.6 133.1)
OKLCHoklch(0.837 0.269 140.0)
Decimal5107717
Display P3color(display-p3 0.302 0.941 0.020)

Copy-ready code

/* CSS */
color: #4df005;
background-color: #4df005;
/* Tailwind (arbitrary) */
class="text-[#4df005] bg-[#4df005]"
/* SCSS */
$brand: #4df005;
/* SwiftUI */
Color(red: 0.302, green: 0.941, blue: 0.020)
/* Android */
Color.parseColor("#4df005")
/* Flutter */
Color(0xFF4DF005)
/* Python / OpenCV (BGR) */
(5, 240, 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 #4df005 · 13.78:1
Use #000000AAA at every size.
Aa
White text · 1.52:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.78:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #4df005 as text scores 1.52:1 on white and 13.78:1 on black.

Accessibility — WCAG contrast

Aa
#4df005 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#4df005 on black: 13.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F7D900
deuteranopia · #E4CC37
tritanopia · #2DE8CC

Color scale — 50 to 950

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

#F5FDF1
#EBFCE4
#D3FAC1
#B2FD91
#8CFC5A
#65FA23
#4df005
#40C804
#33A003
#287307
#194805
Base = 600Lightest = 50 · #F5FDF1Darkest = 950 · #194805
:root {
  --brand-50: #F5FDF1;
  --brand-100: #EBFCE4;
  --brand-200: #D3FAC1;
  --brand-300: #B2FD91;
  --brand-400: #8CFC5A;
  --brand-500: #65FA23;
  --brand-600: #4df005;
  --brand-700: #40C804;
  --brand-800: #33A003;
  --brand-900: #287307;
  --brand-950: #194805;
  --brand: #4df005;
  --brand-ink: #000000;
}

Colors that work with #4df005

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#CEEDC0
Hairlines and dividers
Muted text#639B4B
Captions on the surface
Accent#6D00F5
Second voice, not a rival
Dark variant#287D03
Hover, pressed, headers
Light variant#EEFEE6
Selected rows, tints
Dark surface#192414
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 #4df005

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
  • 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
  • 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#A805F0
Analogous left#C2F005
Analogous right#05F032
Split-complement 1#3205F0
Split-complement 2#F005C2
Triadic 1#054DF0
Triadic 2#F0054D
Tetradic#05C2F0

RGB percentages

Red30.2%
Green94.1%
Blue2.0%

CMYK percentages

Cyan67.9%
Magenta0.0%
Yellow97.9%
Key (black)5.9%

Color previews

#4df005 text on a black background

contrast 13.78:1

Card sample

#4df005 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(77, 240, 5, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 240, 5, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4df005;
background: linear-gradient(135deg, #4df005, #05F05A);

Monochromatic scale

Palettes built from #4df005

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.

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

#4df005, answered

What color is #4df005?

#4df005 is a balanced electric green, closest to Lime (ΔE2000 3.5). It sits at 102° on the hue wheel with 96% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #4df005?

rgb(77, 240, 5) — 77 red, 240 green and 5 blue out of 255, or 30.2% / 94.1% / 2% by channel.

Is #4df005 a light or a dark color?

It is a light color. Relative luminance is 0.6391 and perceived brightness is 74%, so black text on it reaches 13.78:1.

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

Black. It scores 13.78:1 against #4df005, versus 1.52:1 for white — AAA at any size.

What is the complementary color of #4df005?

#A805F0 sits directly opposite on the wheel. Softer options are the split-complements #3205F0 and #F005C2, which give the same contrast with far less vibration.

What colors go well with #4df005?

For interface work: #F6FAF4 as the surface, #CEEDC0 for borders, #639B4B for secondary text, #6D00F5 as an accent and #287D03 for hover and pressed states. For a palette, the analogous pair #C2F005 and #05F032 stays calm, while #A805F0 is the loudest partner.

What is #4df005 in CMYK for printing?

cmyk(68%, 0%, 98%, 6%). 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 #4df005 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 #A3F005; nudged cooler, #03F211.

Work with #4df005 in the Color Lab