Skip to content

#4fb310

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

RGB
79, 179, 16
HSL
97°, 84%, 38%
CMYK
56, 0, 91, 30
Luminance
0.3394

At a glance

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

Hex
#4fb310
Hue
97°
green
Saturation
84%
electric
Lightness
38%
dark
Brightness
70%
HSV value
Perceived
56%
weighted brightness
Luminance
0.3394
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.79:1
Closest name
Lime Green
ΔE2000 7.3
Where it sits
Hue97° of 360°
Saturation84%
Lightness38%
Temperature
Warm ← → Cool53% 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#4fb310
RGBrgb(79, 179, 16)
HSLhsl(97, 84%, 38%)
CMYKcmyk(56%, 0%, 91%, 30%)
LABlab(64.9 -54.2 63.3)
LCHlch(64.9 83.3 130.6)
OKLCHoklch(0.680 0.204 137.6)
Decimal5223184
Display P3color(display-p3 0.310 0.702 0.063)

Copy-ready code

/* CSS */
color: #4fb310;
background-color: #4fb310;
/* Tailwind (arbitrary) */
class="text-[#4fb310] bg-[#4fb310]"
/* SCSS */
$brand: #4fb310;
/* SwiftUI */
Color(red: 0.310, green: 0.702, blue: 0.063)
/* Android */
Color.parseColor("#4fb310")
/* Flutter */
Color(0xFF4FB310)
/* Python / OpenCV (BGR) */
(16, 179, 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#000000 on #4fb310 · 7.79:1
Use #000000AAA at every size.
Aa
White text · 2.70:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.79:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #4fb310 as text scores 2.70:1 on white and 7.79:1 on black.

Accessibility — WCAG contrast

Aa
#4fb310 on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#4fb310 on black: 7.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B9A300
deuteranopia · #AD9A2A
tritanopia · #47AC98

Color scale — 50 to 950

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

#F6FCF2
#EDFAE6
#D8F6C5
#BCF698
#9BF165
#7AED31
#63E114
#4fb310
#42960D
#336C0E
#204409
Base = 700Lightest = 50 · #F6FCF2Darkest = 950 · #204409
:root {
  --brand-50: #F6FCF2;
  --brand-100: #EDFAE6;
  --brand-200: #D8F6C5;
  --brand-300: #BCF698;
  --brand-400: #9BF165;
  --brand-500: #7AED31;
  --brand-600: #63E114;
  --brand-700: #4fb310;
  --brand-800: #42960D;
  --brand-900: #336C0E;
  --brand-950: #204409;
  --brand: #4fb310;
  --brand-ink: #000000;
}

Colors that work with #4fb310

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#F7FAF4
Tinted page background
Border#D1EDC0
Hairlines and dividers
Muted text#6A9B4B
Captions on the surface
Accent#4A0CB7
Second voice, not a rival
Dark variant#34750A
Hover, pressed, headers
Light variant#F0FDE8
Selected rows, tints
Dark surface#1A2414
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 #4fb310

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#7410B3
Analogous left#A0B310
Analogous right#10B322
Split-complement 1#2210B3
Split-complement 2#B310A0
Triadic 1#104FB3
Triadic 2#B3104F
Tetradic#10A0B3

RGB percentages

Red31.0%
Green70.2%
Blue6.3%

CMYK percentages

Cyan55.9%
Magenta0.0%
Yellow91.1%
Key (black)29.8%

Color previews

#4fb310 text on a black background

contrast 7.79:1

Card sample

#4fb310 text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 179, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 179, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4fb310;
background: linear-gradient(135deg, #4fb310, #10B33E);

Monochromatic scale

Palettes built from #4fb310

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.

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

#4fb310, answered

What color is #4fb310?

#4fb310 is a dark electric green, closest to Lime Green (ΔE2000 7.3). It sits at 97° on the hue wheel with 84% saturation and 38% lightness, which reads as neutral.

What is the RGB value of #4fb310?

rgb(79, 179, 16) — 79 red, 179 green and 16 blue out of 255, or 31% / 70.2% / 6.3% by channel.

Is #4fb310 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3394 and perceived brightness is 56%, so black text on it reaches 7.79:1.

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

Black. It scores 7.79:1 against #4fb310, versus 2.70:1 for white — AAA at any size.

What is the complementary color of #4fb310?

#7410B3 sits directly opposite on the wheel. Softer options are the split-complements #2210B3 and #B310A0, which give the same contrast with far less vibration.

What colors go well with #4fb310?

For interface work: #F7FAF4 as the surface, #D1EDC0 for borders, #6A9B4B for secondary text, #4A0CB7 as an accent and #34750A for hover and pressed states. For a palette, the analogous pair #A0B310 and #10B322 stays calm, while #7410B3 is the loudest partner.

What is #4fb310 in CMYK for printing?

cmyk(56%, 0%, 91%, 30%). 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 #4fb310 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8BB310; nudged cooler, #11B50E.

Work with #4fb310 in the Color Lab