Skip to content

#5fd50f

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

RGB
95, 213, 15
HSL
96°, 87%, 45%
CMYK
55, 0, 93, 17
Luminance
0.5006

At a glance

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

Hex
#5fd50f
Hue
96°
green
Saturation
87%
electric
Lightness
45%
dark
Brightness
84%
HSV value
Perceived
67%
weighted brightness
Luminance
0.5006
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.01:1
Closest name
Lime Green
ΔE2000 4.9
Where it sits
Hue96° of 360°
Saturation87%
Lightness45%
Temperature
Warm ← → Cool52% 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#5fd50f
RGBrgb(95, 213, 15)
HSLhsl(96, 87%, 45%)
CMYKcmyk(55%, 0%, 93%, 17%)
LABlab(76.1 -61.9 73.0)
LCHlch(76.1 95.7 130.3)
OKLCHoklch(0.774 0.233 137.5)
Decimal6280463
Display P3color(display-p3 0.373 0.835 0.059)

Copy-ready code

/* CSS */
color: #5fd50f;
background-color: #5fd50f;
/* Tailwind (arbitrary) */
class="text-[#5fd50f] bg-[#5fd50f]"
/* SCSS */
$brand: #5fd50f;
/* SwiftUI */
Color(red: 0.373, green: 0.835, blue: 0.059)
/* Android */
Color.parseColor("#5fd50f")
/* Flutter */
Color(0xFF5FD50F)
/* Python / OpenCV (BGR) */
(15, 213, 95)

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

Accessibility — WCAG contrast

Aa
#5fd50f on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#5fd50f on black: 11.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCC200
deuteranopia · #CDB832
tritanopia · #55CDB5

Color scale — 50 to 950

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

#F6FDF2
#EEFAE5
#D9F7C4
#BDF896
#9DF462
#7CF02D
#5fd50f
#55BF0D
#44980B
#346E0C
#204508
Base = 600Lightest = 50 · #F6FDF2Darkest = 950 · #204508
:root {
  --brand-50: #F6FDF2;
  --brand-100: #EEFAE5;
  --brand-200: #D9F7C4;
  --brand-300: #BDF896;
  --brand-400: #9DF462;
  --brand-500: #7CF02D;
  --brand-600: #5fd50f;
  --brand-700: #55BF0D;
  --brand-800: #44980B;
  --brand-900: #346E0C;
  --brand-950: #204508;
  --brand: #5fd50f;
  --brand-ink: #000000;
}

Colors that work with #5fd50f

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#D2EDC0
Hairlines and dividers
Muted text#6B9B4B
Captions on the surface
Accent#520AD9
Second voice, not a rival
Dark variant#357708
Hover, pressed, headers
Light variant#F0FDE7
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 #5fd50f

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#850FD5
Analogous left#C2D50F
Analogous right#0FD522
Split-complement 1#220FD5
Split-complement 2#D50FC2
Triadic 1#0F5FD5
Triadic 2#D50F5F
Tetradic#0FC2D5

RGB percentages

Red37.3%
Green83.5%
Blue5.9%

CMYK percentages

Cyan55.4%
Magenta0.0%
Yellow93.0%
Key (black)16.5%

Color previews

#5fd50f text on a black background

contrast 11.01:1

Card sample

#5fd50f text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5fd50f;
Background color
Panel with #5fd50f background
background-color: #5fd50f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5fd50f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(95, 213, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 213, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5fd50f;
background: linear-gradient(135deg, #5fd50f, #0FD543);

Monochromatic scale

Palettes built from #5fd50f

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.

#5fd50f 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.

#5fd50f, answered

What color is #5fd50f?

#5fd50f is a dark electric green, closest to Lime Green (ΔE2000 4.9). It sits at 96° on the hue wheel with 87% saturation and 45% lightness, which reads as neutral.

What is the RGB value of #5fd50f?

rgb(95, 213, 15) — 95 red, 213 green and 15 blue out of 255, or 37.3% / 83.5% / 5.9% by channel.

Is #5fd50f a light or a dark color?

It is a light color. Relative luminance is 0.5006 and perceived brightness is 67%, so black text on it reaches 11.01:1.

Should I use black or white text on #5fd50f?

Black. It scores 11.01:1 against #5fd50f, versus 1.91:1 for white — AAA at any size.

What is the complementary color of #5fd50f?

#850FD5 sits directly opposite on the wheel. Softer options are the split-complements #220FD5 and #D50FC2, which give the same contrast with far less vibration.

What colors go well with #5fd50f?

For interface work: #F7FAF4 as the surface, #D2EDC0 for borders, #6B9B4B for secondary text, #520AD9 as an accent and #357708 for hover and pressed states. For a palette, the analogous pair #C2D50F and #0FD522 stays calm, while #850FD5 is the loudest partner.

What is #5fd50f in CMYK for printing?

cmyk(55%, 0%, 93%, 17%). 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 #5fd50f warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A7D50F; nudged cooler, #14D70D.

Work with #5fd50f in the Color Lab