Skip to content

#b2eb47

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

RGB
178, 235, 71
HSL
81°, 80%, 60%
CMYK
24, 0, 70, 8
Luminance
0.6934

At a glance

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

Hex
#b2eb47
Hue
81°
green
Saturation
80%
electric
Lightness
60%
balanced
Brightness
92%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6934
WCAG relative
Temperature
Neutral
42/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.87:1
Closest name
Green Yellow
ΔE2000 4.8
Where it sits
Hue81° of 360°
Saturation80%
Lightness60%
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#b2eb47
RGBrgb(178, 235, 71)
HSLhsl(81, 80%, 60%)
CMYKcmyk(24%, 0%, 70%, 8%)
LABlab(86.7 -41.1 69.8)
LCHlch(86.7 81.0 120.4)
OKLCHoklch(0.871 0.196 126.9)
Decimal11725639
Display P3color(display-p3 0.698 0.922 0.278)

Copy-ready code

/* CSS */
color: #b2eb47;
background-color: #b2eb47;
/* Tailwind (arbitrary) */
class="text-[#b2eb47] bg-[#b2eb47]"
/* SCSS */
$brand: #b2eb47;
/* SwiftUI */
Color(red: 0.698, green: 0.922, blue: 0.278)
/* Android */
Color.parseColor("#b2eb47")
/* Flutter */
Color(0xFFB2EB47)
/* Python / OpenCV (BGR) */
(71, 235, 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 #b2eb47 · 14.87:1
Use #000000AAA at every size.
Aa
White text · 1.41:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.87:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #b2eb47 as text scores 1.41:1 on white and 14.87:1 on black.

Accessibility — WCAG contrast

Aa
#b2eb47 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#b2eb47 on black: 14.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F7DB2B
deuteranopia · #EFD855
tritanopia · #B9E0CB

Color scale — 50 to 950

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

#F9FCF3
#F3F9E6
#E5F5C6
#D5F49A
#BFEF67
#b2eb47
#98DD18
#7FB814
#669310
#4B6A10
#2F430A
Base = 500Lightest = 50 · #F9FCF3Darkest = 950 · #2F430A
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F3F9E6;
  --brand-200: #E5F5C6;
  --brand-300: #D5F49A;
  --brand-400: #BFEF67;
  --brand-500: #b2eb47;
  --brand-600: #98DD18;
  --brand-700: #7FB814;
  --brand-800: #669310;
  --brand-900: #4B6A10;
  --brand-950: #2F430A;
  --brand: #b2eb47;
  --brand-ink: #000000;
}

Colors that work with #b2eb47

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#5443EF
Second voice, not a rival
Dark variant#4F730C
Hover, pressed, headers
Light variant#F5FDE8
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 #b2eb47

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#8047EB
Analogous left#EBD247
Analogous right#60EB47
Split-complement 1#4760EB
Split-complement 2#D247EB
Triadic 1#47B2EB
Triadic 2#EB47B2
Tetradic#47EBD2

RGB percentages

Red69.8%
Green92.2%
Blue27.8%

CMYK percentages

Cyan24.3%
Magenta0.0%
Yellow69.8%
Key (black)7.8%

Color previews

#b2eb47 text on a black background

contrast 14.87:1

Card sample

#b2eb47 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 235, 71, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 235, 71, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2eb47;
background: linear-gradient(135deg, #b2eb47, #47EB49);

Monochromatic scale

Palettes built from #b2eb47

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.

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

#b2eb47, answered

What color is #b2eb47?

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

What is the RGB value of #b2eb47?

rgb(178, 235, 71) — 178 red, 235 green and 71 blue out of 255, or 69.8% / 92.2% / 27.8% by channel.

Is #b2eb47 a light or a dark color?

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

Should I use black or white text on #b2eb47?

Black. It scores 14.87:1 against #b2eb47, versus 1.41:1 for white — AAA at any size.

What is the complementary color of #b2eb47?

#8047EB sits directly opposite on the wheel. Softer options are the split-complements #4760EB and #D247EB, which give the same contrast with far less vibration.

What colors go well with #b2eb47?

For interface work: #F8FAF4 as the surface, #DDEDC0 for borders, #7F9B4B for secondary text, #5443EF as an accent and #4F730C for hover and pressed states. For a palette, the analogous pair #EBD247 and #60EB47 stays calm, while #8047EB is the loudest partner.

What is #b2eb47 in CMYK for printing?

cmyk(24%, 0%, 70%, 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 #b2eb47 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 #EBE847; nudged cooler, #75ED45.

Work with #b2eb47 in the Color Lab