Skip to content

#2bc71c

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

RGB
43, 199, 28
HSL
115°, 75%, 45%
CMYK
78, 0, 86, 22
Luminance
0.4144

At a glance

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

Hex
#2bc71c
Hue
115°
green
Saturation
75%
electric
Lightness
45%
dark
Brightness
78%
HSV value
Perceived
61%
weighted brightness
Luminance
0.4144
WCAG relative
Temperature
Cool
60/100 cool
Color family
Green
Tone
Electric
Best ink
Black
9.29:1
Closest name
Lime Green
ΔE2000 2
Where it sits
Hue115° of 360°
Saturation75%
Lightness45%
Temperature
Warm ← → Cool60% 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#2bc71c
RGBrgb(43, 199, 28)
HSLhsl(115, 75%, 45%)
CMYKcmyk(78%, 0%, 86%, 22%)
LABlab(70.5 -67.5 65.5)
LCHlch(70.5 94.1 135.9)
OKLCHoklch(0.724 0.233 142.0)
Decimal2869020
Display P3color(display-p3 0.169 0.780 0.110)

Copy-ready code

/* CSS */
color: #2bc71c;
background-color: #2bc71c;
/* Tailwind (arbitrary) */
class="text-[#2bc71c] bg-[#2bc71c]"
/* SCSS */
$brand: #2bc71c;
/* SwiftUI */
Color(red: 0.169, green: 0.780, blue: 0.110)
/* Android */
Color.parseColor("#2bc71c")
/* Flutter */
Color(0xFF2BC71C)
/* Python / OpenCV (BGR) */
(28, 199, 43)

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

Accessibility — WCAG contrast

Aa
#2bc71c on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#2bc71c on black: 9.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CCB300
deuteranopia · #BBA835
tritanopia · #00C1A9

Color scale — 50 to 950

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

#F4FCF3
#E8F9E7
#CCF4C8
#A4F19D
#77EA6B
#49E33A
#2bc71c
#27B319
#1F8F14
#1A6813
#10410C
Base = 600Lightest = 50 · #F4FCF3Darkest = 950 · #10410C
:root {
  --brand-50: #F4FCF3;
  --brand-100: #E8F9E7;
  --brand-200: #CCF4C8;
  --brand-300: #A4F19D;
  --brand-400: #77EA6B;
  --brand-500: #49E33A;
  --brand-600: #2bc71c;
  --brand-700: #27B319;
  --brand-800: #1F8F14;
  --brand-900: #1A6813;
  --brand-950: #10410C;
  --brand: #2bc71c;
  --brand-ink: #000000;
}

Colors that work with #2bc71c

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#C4EDC0
Hairlines and dividers
Muted text#529B4B
Captions on the surface
Accent#8F17CB
Second voice, not a rival
Dark variant#187010
Hover, pressed, headers
Light variant#EAFCE9
Selected rows, tints
Dark surface#152414
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 #2bc71c

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#B81CC7
Analogous left#81C71C
Analogous right#1CC762
Split-complement 1#621CC7
Split-complement 2#C71C81
Triadic 1#1C2BC7
Triadic 2#C71C2B
Tetradic#1C81C7

RGB percentages

Red16.9%
Green78.0%
Blue11.0%

CMYK percentages

Cyan78.4%
Magenta0.0%
Yellow85.9%
Key (black)22.0%

Color previews

#2bc71c text on a black background

contrast 9.29:1

Card sample

#2bc71c text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(43, 199, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 199, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2bc71c;
background: linear-gradient(135deg, #2bc71c, #1CC77F);

Monochromatic scale

Palettes built from #2bc71c

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.

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

#2bc71c, answered

What color is #2bc71c?

#2bc71c is a dark electric green, closest to Lime Green (ΔE2000 2). It sits at 115° on the hue wheel with 75% saturation and 45% lightness, which reads as cool.

What is the RGB value of #2bc71c?

rgb(43, 199, 28) — 43 red, 199 green and 28 blue out of 255, or 16.9% / 78% / 11% by channel.

Is #2bc71c a light or a dark color?

It is a mid-tone. Relative luminance is 0.4144 and perceived brightness is 61%, so black text on it reaches 9.29:1.

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

Black. It scores 9.29:1 against #2bc71c, versus 2.26:1 for white — AAA at any size.

What is the complementary color of #2bc71c?

#B81CC7 sits directly opposite on the wheel. Softer options are the split-complements #621CC7 and #C71C81, which give the same contrast with far less vibration.

What colors go well with #2bc71c?

For interface work: #F5FAF4 as the surface, #C4EDC0 for borders, #529B4B for secondary text, #8F17CB as an accent and #187010 for hover and pressed states. For a palette, the analogous pair #81C71C and #1CC762 stays calm, while #B81CC7 is the loudest partner.

What is #2bc71c in CMYK for printing?

cmyk(78%, 0%, 86%, 22%). 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 #2bc71c warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6AC71C; nudged cooler, #1AC94B.

Work with #2bc71c in the Color Lab