Skip to content

#5fc511

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

RGB
95, 197, 17
HSL
94°, 84%, 42%
CMYK
52, 0, 91, 23
Luminance
0.4241

At a glance

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

Hex
#5fc511
Hue
94°
green
Saturation
84%
electric
Lightness
42%
dark
Brightness
77%
HSV value
Perceived
63%
weighted brightness
Luminance
0.4241
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Electric
Best ink
Black
9.48:1
Closest name
Lime Green
ΔE2000 4.8
Where it sits
Hue94° of 360°
Saturation84%
Lightness42%
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#5fc511
RGBrgb(95, 197, 17)
HSLhsl(94, 84%, 42%)
CMYKcmyk(52%, 0%, 91%, 23%)
LABlab(71.2 -56.2 68.6)
LCHlch(71.2 88.7 129.3)
OKLCHoklch(0.733 0.216 136.6)
Decimal6276369
Display P3color(display-p3 0.373 0.773 0.067)

Copy-ready code

/* CSS */
color: #5fc511;
background-color: #5fc511;
/* Tailwind (arbitrary) */
class="text-[#5fc511] bg-[#5fc511]"
/* SCSS */
$brand: #5fc511;
/* SwiftUI */
Color(red: 0.373, green: 0.773, blue: 0.067)
/* Android */
Color.parseColor("#5fc511")
/* Flutter */
Color(0xFF5FC511)
/* Python / OpenCV (BGR) */
(17, 197, 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 #5fc511 · 9.48:1
Use #000000AAA at every size.
Aa
White text · 2.21:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.48:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #5fc511 as text scores 2.21:1 on white and 9.48:1 on black.

Accessibility — WCAG contrast

Aa
#5fc511 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#5fc511 on black: 9.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CCB300
deuteranopia · #BFAB2F
tritanopia · #59BDA7

Color scale — 50 to 950

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

#F7FCF2
#EEFAE6
#DBF6C5
#C1F698
#A1F264
#82ED30
#6DE113
#5fc511
#48960D
#376D0E
#224409
Base = 700Lightest = 50 · #F7FCF2Darkest = 950 · #224409
:root {
  --brand-50: #F7FCF2;
  --brand-100: #EEFAE6;
  --brand-200: #DBF6C5;
  --brand-300: #C1F698;
  --brand-400: #A1F264;
  --brand-500: #82ED30;
  --brand-600: #6DE113;
  --brand-700: #5fc511;
  --brand-800: #48960D;
  --brand-900: #376D0E;
  --brand-950: #224409;
  --brand: #5fc511;
  --brand-ink: #000000;
}

Colors that work with #5fc511

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#D3EDC0
Hairlines and dividers
Muted text#6D9B4B
Captions on the surface
Accent#490DC9
Second voice, not a rival
Dark variant#39750A
Hover, pressed, headers
Light variant#F1FDE8
Selected rows, tints
Dark surface#1B2414
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 #5fc511

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#7711C5
Analogous left#B9C511
Analogous right#11C51D
Split-complement 1#1D11C5
Split-complement 2#C511B9
Triadic 1#115FC5
Triadic 2#C5115F
Tetradic#11B9C5

RGB percentages

Red37.3%
Green77.3%
Blue6.7%

CMYK percentages

Cyan51.8%
Magenta0.0%
Yellow91.4%
Key (black)22.7%

Color previews

#5fc511 text on a black background

contrast 9.48:1

Card sample

#5fc511 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(95, 197, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 197, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5fc511;
background: linear-gradient(135deg, #5fc511, #11C53B);

Monochromatic scale

Palettes built from #5fc511

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.

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

#5fc511, answered

What color is #5fc511?

#5fc511 is a dark electric green, closest to Lime Green (ΔE2000 4.8). It sits at 94° on the hue wheel with 84% saturation and 42% lightness, which reads as neutral.

What is the RGB value of #5fc511?

rgb(95, 197, 17) — 95 red, 197 green and 17 blue out of 255, or 37.3% / 77.3% / 6.7% by channel.

Is #5fc511 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4241 and perceived brightness is 63%, so black text on it reaches 9.48:1.

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

Black. It scores 9.48:1 against #5fc511, versus 2.21:1 for white — AAA at any size.

What is the complementary color of #5fc511?

#7711C5 sits directly opposite on the wheel. Softer options are the split-complements #1D11C5 and #C511B9, which give the same contrast with far less vibration.

What colors go well with #5fc511?

For interface work: #F7FAF4 as the surface, #D3EDC0 for borders, #6D9B4B for secondary text, #490DC9 as an accent and #39750A for hover and pressed states. For a palette, the analogous pair #B9C511 and #11C51D stays calm, while #7711C5 is the loudest partner.

What is #5fc511 in CMYK for printing?

cmyk(52%, 0%, 91%, 23%). 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 #5fc511 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 #A1C511; nudged cooler, #1BC70F.

Work with #5fc511 in the Color Lab