Skip to content

#2abf15

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

RGB
42, 191, 21
HSL
113°, 80%, 42%
CMYK
78, 0, 89, 25
Luminance
0.3781

At a glance

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

Hex
#2abf15
Hue
113°
green
Saturation
80%
electric
Lightness
42%
dark
Brightness
75%
HSV value
Perceived
58%
weighted brightness
Luminance
0.3781
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Electric
Best ink
Black
8.56:1
Closest name
Lime Green
ΔE2000 3.8
Where it sits
Hue113° of 360°
Saturation80%
Lightness42%
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#2abf15
RGBrgb(42, 191, 21)
HSLhsl(113, 80%, 42%)
CMYKcmyk(78%, 0%, 89%, 25%)
LABlab(67.9 -65.5 64.6)
LCHlch(67.9 92.0 135.4)
OKLCHoklch(0.702 0.228 141.7)
Decimal2801429
Display P3color(display-p3 0.165 0.749 0.082)

Copy-ready code

/* CSS */
color: #2abf15;
background-color: #2abf15;
/* Tailwind (arbitrary) */
class="text-[#2abf15] bg-[#2abf15]"
/* SCSS */
$brand: #2abf15;
/* SwiftUI */
Color(red: 0.165, green: 0.749, blue: 0.082)
/* Android */
Color.parseColor("#2abf15")
/* Flutter */
Color(0xFF2ABF15)
/* Python / OpenCV (BGR) */
(21, 191, 42)

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

Accessibility — WCAG contrast

Aa
#2abf15 on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#2abf15 on black: 8.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C4AC00
deuteranopia · #B4A130
tritanopia · #00B9A2

Color scale — 50 to 950

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

#F4FCF3
#E8F9E6
#CCF5C6
#A5F49A
#78EE67
#4BE935
#30DD18
#2abf15
#209310
#1B6A10
#11420A
Base = 700Lightest = 50 · #F4FCF3Darkest = 950 · #11420A
:root {
  --brand-50: #F4FCF3;
  --brand-100: #E8F9E6;
  --brand-200: #CCF5C6;
  --brand-300: #A5F49A;
  --brand-400: #78EE67;
  --brand-500: #4BE935;
  --brand-600: #30DD18;
  --brand-700: #2abf15;
  --brand-800: #209310;
  --brand-900: #1B6A10;
  --brand-950: #11420A;
  --brand: #2abf15;
  --brand-ink: #000000;
}

Colors that work with #2abf15

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#C5EDC0
Hairlines and dividers
Muted text#549B4B
Captions on the surface
Accent#8111C3
Second voice, not a rival
Dark variant#19730D
Hover, pressed, headers
Light variant#EBFCE8
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 #2abf15

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#AA15BF
Analogous left#7FBF15
Analogous right#15BF55
Split-complement 1#5515BF
Split-complement 2#BF157F
Triadic 1#152ABF
Triadic 2#BF152A
Tetradic#157FBF

RGB percentages

Red16.5%
Green74.9%
Blue8.2%

CMYK percentages

Cyan78.0%
Magenta0.0%
Yellow89.0%
Key (black)25.1%

Color previews

#2abf15 text on a black background

contrast 8.56:1

Card sample

#2abf15 text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 191, 21, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 191, 21, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2abf15;
background: linear-gradient(135deg, #2abf15, #15BF71);

Monochromatic scale

Palettes built from #2abf15

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.

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

#2abf15, answered

What color is #2abf15?

#2abf15 is a dark electric green, closest to Lime Green (ΔE2000 3.8). It sits at 113° on the hue wheel with 80% saturation and 42% lightness, which reads as cool.

What is the RGB value of #2abf15?

rgb(42, 191, 21) — 42 red, 191 green and 21 blue out of 255, or 16.5% / 74.9% / 8.2% by channel.

Is #2abf15 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3781 and perceived brightness is 58%, so black text on it reaches 8.56:1.

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

Black. It scores 8.56:1 against #2abf15, versus 2.45:1 for white — AAA at any size.

What is the complementary color of #2abf15?

#AA15BF sits directly opposite on the wheel. Softer options are the split-complements #5515BF and #BF157F, which give the same contrast with far less vibration.

What colors go well with #2abf15?

For interface work: #F5FAF4 as the surface, #C5EDC0 for borders, #549B4B for secondary text, #8111C3 as an accent and #19730D for hover and pressed states. For a palette, the analogous pair #7FBF15 and #15BF55 stays calm, while #AA15BF is the loudest partner.

What is #2abf15 in CMYK for printing?

cmyk(78%, 0%, 89%, 25%). 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 #2abf15 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 #68BF15; nudged cooler, #13C13D.

Work with #2abf15 in the Color Lab