Skip to content

#b2fc4f

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

RGB
178, 252, 79
HSL
86°, 97%, 65%
CMYK
29, 0, 69, 1
Luminance
0.7965

At a glance

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

Hex
#b2fc4f
Hue
86°
green
Saturation
97%
electric
Lightness
65%
balanced
Brightness
99%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7965
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.93:1
Closest name
Green Yellow
ΔE2000 2.2
Where it sits
Hue86° of 360°
Saturation97%
Lightness65%
Temperature
Warm ← → Cool46% 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#b2fc4f
RGBrgb(178, 252, 79)
HSLhsl(86, 97%, 65%)
CMYKcmyk(29%, 0%, 69%, 1%)
LABlab(91.5 -47.9 71.9)
LCHlch(91.5 86.4 123.7)
OKLCHoklch(0.911 0.212 129.9)
Decimal11729999
Display P3color(display-p3 0.698 0.988 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2fc4f on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#b2fc4f on black: 16.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEA33
deuteranopia · #FDE55E
tritanopia · #B6F1DA

Color scale — 50 to 950

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

#F8FDF1
#F1FCE4
#E2FBC1
#CFFD91
#b2fc4f
#9EFB22
#8BF104
#74C903
#5DA003
#457407
#2B4804
Base = 400Lightest = 50 · #F8FDF1Darkest = 950 · #2B4804
:root {
  --brand-50: #F8FDF1;
  --brand-100: #F1FCE4;
  --brand-200: #E2FBC1;
  --brand-300: #CFFD91;
  --brand-400: #b2fc4f;
  --brand-500: #9EFB22;
  --brand-600: #8BF104;
  --brand-700: #74C903;
  --brand-800: #5DA003;
  --brand-900: #457407;
  --brand-950: #2B4804;
  --brand: #b2fc4f;
  --brand-ink: #000000;
}

Colors that work with #b2fc4f

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#D9EDC0
Hairlines and dividers
Muted text#799B4B
Captions on the surface
Accent#6C4CFF
Second voice, not a rival
Dark variant#497D02
Hover, pressed, headers
Light variant#F4FFE6
Selected rows, tints
Dark surface#1D2414
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 #b2fc4f

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#994FFC
Analogous left#FCF04F
Analogous right#5BFC4F
Split-complement 1#4F5BFC
Split-complement 2#F04FFC
Triadic 1#4FB2FC
Triadic 2#FC4FB2
Tetradic#4FFCF0

RGB percentages

Red69.8%
Green98.8%
Blue31.0%

CMYK percentages

Cyan29.4%
Magenta0.0%
Yellow68.7%
Key (black)1.2%

Color previews

#b2fc4f text on a black background

contrast 16.93:1

Card sample

#b2fc4f text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2fc4f

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.

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

#b2fc4f, answered

What color is #b2fc4f?

#b2fc4f is a balanced electric green, closest to Green Yellow (ΔE2000 2.2). It sits at 86° on the hue wheel with 97% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #b2fc4f?

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

Is #b2fc4f a light or a dark color?

It is a light color. Relative luminance is 0.7965 and perceived brightness is 85%, so black text on it reaches 16.93:1.

Should I use black or white text on #b2fc4f?

Black. It scores 16.93:1 against #b2fc4f, versus 1.24:1 for white — AAA at any size.

What is the complementary color of #b2fc4f?

#994FFC sits directly opposite on the wheel. Softer options are the split-complements #4F5BFC and #F04FFC, which give the same contrast with far less vibration.

What colors go well with #b2fc4f?

For interface work: #F8FAF4 as the surface, #D9EDC0 for borders, #799B4B for secondary text, #6C4CFF as an accent and #497D02 for hover and pressed states. For a palette, the analogous pair #FCF04F and #5BFC4F stays calm, while #994FFC is the loudest partner.

What is #b2fc4f in CMYK for printing?

cmyk(29%, 0%, 69%, 1%). 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 #b2fc4f warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F1FC4F; nudged cooler, #71FE4D.

Work with #b2fc4f in the Color Lab