Skip to content

#4feb2f

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

RGB
79, 235, 47
HSL
110°, 83%, 55%
CMYK
66, 0, 80, 8
Luminance
0.6128

At a glance

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

Hex
#4feb2f
Hue
110°
green
Saturation
83%
electric
Lightness
55%
balanced
Brightness
92%
HSV value
Perceived
73%
weighted brightness
Luminance
0.6128
WCAG relative
Temperature
Cool
58/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.26:1
Closest name
Lime
ΔE2000 4.6
Where it sits
Hue110° of 360°
Saturation83%
Lightness55%
Temperature
Warm ← → Cool58% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#4feb2f
RGBrgb(79, 235, 47)
HSLhsl(110, 83%, 55%)
CMYKcmyk(66%, 0%, 80%, 8%)
LABlab(82.5 -71.7 72.0)
LCHlch(82.5 101.6 134.9)
OKLCHoklch(0.826 0.253 140.9)
Decimal5237551
Display P3color(display-p3 0.310 0.922 0.184)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4feb2f on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#4feb2f on black: 13.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F1D500
deuteranopia · #DFC947
tritanopia · #30E3C9

Color scale — 50 to 950

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

#F4FCF2
#E9FAE6
#CEF6C6
#A8F599
#7DF065
#4feb2f
#38DF15
#2EBA12
#25950E
#1F6C0F
#134309
Base = 500Lightest = 50 · #F4FCF2Darkest = 950 · #134309
:root {
  --brand-50: #F4FCF2;
  --brand-100: #E9FAE6;
  --brand-200: #CEF6C6;
  --brand-300: #A8F599;
  --brand-400: #7DF065;
  --brand-500: #4feb2f;
  --brand-600: #38DF15;
  --brand-700: #2EBA12;
  --brand-800: #25950E;
  --brand-900: #1F6C0F;
  --brand-950: #134309;
  --brand: #4feb2f;
  --brand-ink: #000000;
}

Colors that work with #4feb2f

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#F5FAF4
Tinted page background
Border#C7EDC0
Hairlines and dividers
Muted text#589B4B
Captions on the surface
Accent#9D2AF0
Second voice, not a rival
Dark variant#1D740B
Hover, pressed, headers
Light variant#EBFDE8
Selected rows, tints
Dark surface#162414
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 #4feb2f

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#CB2FEB
Analogous left#ADEB2F
Analogous right#2FEB6D
Split-complement 1#6D2FEB
Split-complement 2#EB2FAD
Triadic 1#2F4FEB
Triadic 2#EB2F4F
Tetradic#2FADEB

RGB percentages

Red31.0%
Green92.2%
Blue18.4%

CMYK percentages

Cyan66.4%
Magenta0.0%
Yellow80.0%
Key (black)7.8%

Color previews

#4feb2f text on a black background

contrast 13.26:1

Card sample

#4feb2f text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 235, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 235, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4feb2f;
background: linear-gradient(135deg, #4feb2f, #2FEB8C);

Monochromatic scale

Palettes built from #4feb2f

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.

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

#4feb2f, answered

What color is #4feb2f?

#4feb2f is a balanced electric green, closest to Lime (ΔE2000 4.6). It sits at 110° on the hue wheel with 83% saturation and 55% lightness, which reads as cool.

What is the RGB value of #4feb2f?

rgb(79, 235, 47) — 79 red, 235 green and 47 blue out of 255, or 31% / 92.2% / 18.4% by channel.

Is #4feb2f a light or a dark color?

It is a light color. Relative luminance is 0.6128 and perceived brightness is 73%, so black text on it reaches 13.26:1.

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

Black. It scores 13.26:1 against #4feb2f, versus 1.58:1 for white — AAA at any size.

What is the complementary color of #4feb2f?

#CB2FEB sits directly opposite on the wheel. Softer options are the split-complements #6D2FEB and #EB2FAD, which give the same contrast with far less vibration.

What colors go well with #4feb2f?

For interface work: #F5FAF4 as the surface, #C7EDC0 for borders, #589B4B for secondary text, #9D2AF0 as an accent and #1D740B for hover and pressed states. For a palette, the analogous pair #ADEB2F and #2FEB6D stays calm, while #CB2FEB is the loudest partner.

What is #4feb2f in CMYK for printing?

cmyk(66%, 0%, 80%, 8%). 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 #4feb2f warm or cool?

Cool — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #94EB2F; nudged cooler, #2DED53.

Work with #4feb2f in the Color Lab