Skip to content

#b2ec4f

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

RGB
178, 236, 79
HSL
82°, 81%, 62%
CMYK
25, 0, 67, 8
Luminance
0.7002

At a glance

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

Hex
#b2ec4f
Hue
82°
green
Saturation
81%
electric
Lightness
62%
balanced
Brightness
93%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7002
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.00:1
Closest name
Green Yellow
ΔE2000 4.9
Where it sits
Hue82° of 360°
Saturation81%
Lightness62%
Temperature
Warm ← → Cool43% 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#b2ec4f
RGBrgb(178, 236, 79)
HSLhsl(82, 81%, 62%)
CMYKcmyk(25%, 0%, 67%, 8%)
LABlab(87.0 -41.0 67.3)
LCHlch(87.0 78.8 121.4)
OKLCHoklch(0.874 0.192 127.5)
Decimal11725903
Display P3color(display-p3 0.698 0.925 0.310)

Copy-ready code

/* CSS */
color: #b2ec4f;
background-color: #b2ec4f;
/* Tailwind (arbitrary) */
class="text-[#b2ec4f] bg-[#b2ec4f]"
/* SCSS */
$brand: #b2ec4f;
/* SwiftUI */
Color(red: 0.698, green: 0.925, blue: 0.310)
/* Android */
Color.parseColor("#b2ec4f")
/* Flutter */
Color(0xFFB2EC4F)
/* Python / OpenCV (BGR) */
(79, 236, 178)

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

Accessibility — WCAG contrast

Aa
#b2ec4f on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#b2ec4f on black: 15.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F8DC38
deuteranopia · #F0D95C
tritanopia · #B8E2CC

Color scale — 50 to 950

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

#F9FCF3
#F2F9E6
#E4F5C6
#D3F49A
#b2ec4f
#A6E934
#94DD18
#7BB814
#639310
#496B10
#2E430A
Base = 400Lightest = 50 · #F9FCF3Darkest = 950 · #2E430A
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F2F9E6;
  --brand-200: #E4F5C6;
  --brand-300: #D3F49A;
  --brand-400: #b2ec4f;
  --brand-500: #A6E934;
  --brand-600: #94DD18;
  --brand-700: #7BB814;
  --brand-800: #639310;
  --brand-900: #496B10;
  --brand-950: #2E430A;
  --brand: #b2ec4f;
  --brand-ink: #000000;
}

Colors that work with #b2ec4f

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#DCEDC0
Hairlines and dividers
Muted text#7D9B4B
Captions on the surface
Accent#5F4BF0
Second voice, not a rival
Dark variant#4D730C
Hover, pressed, headers
Light variant#F5FDE8
Selected rows, tints
Dark surface#1E2414
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 #b2ec4f

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#894FEC
Analogous left#ECD84F
Analogous right#64EC4F
Split-complement 1#4F64EC
Split-complement 2#D84FEC
Triadic 1#4FB2EC
Triadic 2#EC4FB2
Tetradic#4FECD8

RGB percentages

Red69.8%
Green92.5%
Blue31.0%

CMYK percentages

Cyan24.6%
Magenta0.0%
Yellow66.5%
Key (black)7.5%

Color previews

#b2ec4f text on a black background

contrast 15.00:1

Card sample

#b2ec4f text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 236, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 236, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2ec4f;
background: linear-gradient(135deg, #b2ec4f, #4FEC55);

Monochromatic scale

Palettes built from #b2ec4f

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.

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

#b2ec4f, answered

What color is #b2ec4f?

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

What is the RGB value of #b2ec4f?

rgb(178, 236, 79) — 178 red, 236 green and 79 blue out of 255, or 69.8% / 92.5% / 31% by channel.

Is #b2ec4f a light or a dark color?

It is a light color. Relative luminance is 0.7002 and perceived brightness is 81%, so black text on it reaches 15.00:1.

Should I use black or white text on #b2ec4f?

Black. It scores 15.00:1 against #b2ec4f, versus 1.40:1 for white — AAA at any size.

What is the complementary color of #b2ec4f?

#894FEC sits directly opposite on the wheel. Softer options are the split-complements #4F64EC and #D84FEC, which give the same contrast with far less vibration.

What colors go well with #b2ec4f?

For interface work: #F8FAF4 as the surface, #DCEDC0 for borders, #7D9B4B for secondary text, #5F4BF0 as an accent and #4D730C for hover and pressed states. For a palette, the analogous pair #ECD84F and #64EC4F stays calm, while #894FEC is the loudest partner.

What is #b2ec4f in CMYK for printing?

cmyk(25%, 0%, 67%, 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 #b2ec4f warm or cool?

Neutral — it scores 43 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EBEC4F; nudged cooler, #78EE4D.

Work with #b2ec4f in the Color Lab