Skip to content

#2ff511

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

RGB
47, 245, 17
HSL
112°, 92%, 51%
CMYK
81, 0, 93, 4
Luminance
0.6595

At a glance

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

Hex
#2ff511
Hue
112°
green
Saturation
92%
electric
Lightness
51%
balanced
Brightness
96%
HSV value
Perceived
74%
weighted brightness
Luminance
0.6595
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.19:1
Closest name
Lime
ΔE2000 2.1
Where it sits
Hue112° of 360°
Saturation92%
Lightness51%
Temperature
Warm ← → Cool59% 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#2ff511
RGBrgb(47, 245, 17)
HSLhsl(112, 92%, 51%)
CMYKcmyk(81%, 0%, 93%, 4%)
LABlab(85.0 -80.5 79.6)
LCHlch(85.0 113.3 135.3)
OKLCHoklch(0.844 0.279 141.8)
Decimal3142929
Display P3color(display-p3 0.184 0.961 0.067)

Copy-ready code

/* CSS */
color: #2ff511;
background-color: #2ff511;
/* Tailwind (arbitrary) */
class="text-[#2ff511] bg-[#2ff511]"
/* SCSS */
$brand: #2ff511;
/* SwiftUI */
Color(red: 0.184, green: 0.961, blue: 0.067)
/* Android */
Color.parseColor("#2ff511")
/* Flutter */
Color(0xFF2FF511)
/* Python / OpenCV (BGR) */
(17, 245, 47)

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

Accessibility — WCAG contrast

Aa
#2ff511 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#2ff511 on black: 14.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBDD00
deuteranopia · #E6CF3B
tritanopia · #00EDD0

Color scale — 50 to 950

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

#F3FDF2
#E7FBE4
#CAF9C3
#A1FA93
#72F85E
#43F628
#2ff511
#21C408
#1A9D07
#177109
#0E4706
Base = 600Lightest = 50 · #F3FDF2Darkest = 950 · #0E4706
:root {
  --brand-50: #F3FDF2;
  --brand-100: #E7FBE4;
  --brand-200: #CAF9C3;
  --brand-300: #A1FA93;
  --brand-400: #72F85E;
  --brand-500: #43F628;
  --brand-600: #2ff511;
  --brand-700: #21C408;
  --brand-800: #1A9D07;
  --brand-900: #177109;
  --brand-950: #0E4706;
  --brand: #2ff511;
  --brand-ink: #000000;
}

Colors that work with #2ff511

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#C6EDC0
Hairlines and dividers
Muted text#559B4B
Captions on the surface
Accent#9F0CFA
Second voice, not a rival
Dark variant#157A05
Hover, pressed, headers
Light variant#EAFEE7
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 #2ff511

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#D711F5
Analogous left#A1F511
Analogous right#11F565
Split-complement 1#6511F5
Split-complement 2#F511A1
Triadic 1#112FF5
Triadic 2#F5112F
Tetradic#11A1F5

RGB percentages

Red18.4%
Green96.1%
Blue6.7%

CMYK percentages

Cyan80.8%
Magenta0.0%
Yellow93.1%
Key (black)3.9%

Color previews

#2ff511 text on a black background

contrast 14.19:1

Card sample

#2ff511 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2ff511;
Background color
Panel with #2ff511 background
background-color: #2ff511;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 245, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 245, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ff511;
background: linear-gradient(135deg, #2ff511, #11F58B);

Monochromatic scale

Palettes built from #2ff511

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.

#2ff511 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.

#2ff511, answered

What color is #2ff511?

#2ff511 is a balanced electric green, closest to Lime (ΔE2000 2.1). It sits at 112° on the hue wheel with 92% saturation and 51% lightness, which reads as cool.

What is the RGB value of #2ff511?

rgb(47, 245, 17) — 47 red, 245 green and 17 blue out of 255, or 18.4% / 96.1% / 6.7% by channel.

Is #2ff511 a light or a dark color?

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

Should I use black or white text on #2ff511?

Black. It scores 14.19:1 against #2ff511, versus 1.48:1 for white — AAA at any size.

What is the complementary color of #2ff511?

#D711F5 sits directly opposite on the wheel. Softer options are the split-complements #6511F5 and #F511A1, which give the same contrast with far less vibration.

What colors go well with #2ff511?

For interface work: #F5FAF4 as the surface, #C6EDC0 for borders, #559B4B for secondary text, #9F0CFA as an accent and #157A05 for hover and pressed states. For a palette, the analogous pair #A1F511 and #11F565 stays calm, while #D711F5 is the loudest partner.

What is #2ff511 in CMYK for printing?

cmyk(81%, 0%, 93%, 4%). 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 #2ff511 warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #83F511; nudged cooler, #0FF745.

Work with #2ff511 in the Color Lab