Skip to content

#abec2f

a balanced, electric green · neutral · closest name: Green Yellow

RGB
171, 236, 47
HSL
81°, 83%, 56%
CMYK
28, 0, 80, 8
Luminance
0.6885

At a glance

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

Hex
#abec2f
Hue
81°
green
Saturation
83%
electric
Lightness
56%
balanced
Brightness
93%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6885
WCAG relative
Temperature
Neutral
42/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.77:1
Closest name
Green Yellow
ΔE2000 4.1
Where it sits
Hue81° of 360°
Saturation83%
Lightness56%
Temperature
Warm ← → Cool42% 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#abec2f
RGBrgb(171, 236, 47)
HSLhsl(81, 83%, 56%)
CMYKcmyk(28%, 0%, 80%, 8%)
LABlab(86.4 -45.3 76.9)
LCHlch(86.4 89.3 120.5)
OKLCHoklch(0.868 0.213 127.8)
Decimal11267119
Display P3color(display-p3 0.671 0.925 0.184)

Copy-ready code

/* CSS */
color: #abec2f;
background-color: #abec2f;
/* Tailwind (arbitrary) */
class="text-[#abec2f] bg-[#abec2f]"
/* SCSS */
$brand: #abec2f;
/* SwiftUI */
Color(red: 0.671, green: 0.925, blue: 0.184)
/* Android */
Color.parseColor("#abec2f")
/* Flutter */
Color(0xFFABEC2F)
/* Python / OpenCV (BGR) */
(47, 236, 171)

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

Accessibility — WCAG contrast

Aa
#abec2f on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#abec2f on black: 14.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F8DB00
deuteranopia · #EFD745
tritanopia · #B1E1CA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #abec2f is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9FCF2
#F3FAE6
#E5F6C6
#D6F698
#C1F165
#abec2f
#9AE014
#81BB11
#67960E
#4C6C0E
#2F4409
Base = 500Lightest = 50 · #F9FCF2Darkest = 950 · #2F4409
:root {
  --brand-50: #F9FCF2;
  --brand-100: #F3FAE6;
  --brand-200: #E5F6C6;
  --brand-300: #D6F698;
  --brand-400: #C1F165;
  --brand-500: #abec2f;
  --brand-600: #9AE014;
  --brand-700: #81BB11;
  --brand-800: #67960E;
  --brand-900: #4C6C0E;
  --brand-950: #2F4409;
  --brand: #abec2f;
  --brand-ink: #000000;
}

Colors that work with #abec2f

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#F8FAF4
Tinted page background
Border#DDEDC0
Hairlines and dividers
Muted text#7F9B4B
Captions on the surface
Accent#3D2AF1
Second voice, not a rival
Dark variant#50750B
Hover, pressed, headers
Light variant#F6FDE8
Selected rows, tints
Dark surface#1F2414
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 #abec2f

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#702FEC
Analogous left#ECCE2F
Analogous right#4DEC2F
Split-complement 1#2F4DEC
Split-complement 2#CE2FEC
Triadic 1#2FABEC
Triadic 2#EC2FAB
Tetradic#2FECCE

RGB percentages

Red67.1%
Green92.5%
Blue18.4%

CMYK percentages

Cyan27.5%
Magenta0.0%
Yellow80.1%
Key (black)7.5%

Color previews

#abec2f text on a black background

contrast 14.77:1

Card sample

#abec2f text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 236, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 236, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abec2f;
background: linear-gradient(135deg, #abec2f, #2FEC31);

Monochromatic scale

Palettes built from #abec2f

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.

#abec2f 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.

#abec2f, answered

What color is #abec2f?

#abec2f is a balanced electric green, closest to Green Yellow (ΔE2000 4.1). It sits at 81° on the hue wheel with 83% saturation and 56% lightness, which reads as neutral.

What is the RGB value of #abec2f?

rgb(171, 236, 47) — 171 red, 236 green and 47 blue out of 255, or 67.1% / 92.5% / 18.4% by channel.

Is #abec2f a light or a dark color?

It is a light color. Relative luminance is 0.6885 and perceived brightness is 80%, so black text on it reaches 14.77:1.

Should I use black or white text on #abec2f?

Black. It scores 14.77:1 against #abec2f, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #abec2f?

#702FEC sits directly opposite on the wheel. Softer options are the split-complements #2F4DEC and #CE2FEC, which give the same contrast with far less vibration.

What colors go well with #abec2f?

For interface work: #F8FAF4 as the surface, #DDEDC0 for borders, #7F9B4B for secondary text, #3D2AF1 as an accent and #50750B for hover and pressed states. For a palette, the analogous pair #ECCE2F and #4DEC2F stays calm, while #702FEC is the loudest partner.

What is #abec2f in CMYK for printing?

cmyk(28%, 0%, 80%, 8%). 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 #abec2f warm or cool?

Neutral — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #ECE82F; nudged cooler, #65EE2D.

Work with #abec2f in the Color Lab