Skip to content

#b2eb38

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

RGB
178, 235, 56
HSL
79°, 82%, 57%
CMYK
24, 0, 76, 8
Luminance
0.6917

At a glance

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

Hex
#b2eb38
Hue
79°
green
Saturation
82%
electric
Lightness
57%
balanced
Brightness
92%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6917
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.83:1
Closest name
Green Yellow
ΔE2000 4.6
Where it sits
Hue79° of 360°
Saturation82%
Lightness57%
Temperature
Warm ← → Cool41% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#b2eb38
RGBrgb(178, 235, 56)
HSLhsl(79, 82%, 57%)
CMYKcmyk(24%, 0%, 76%, 8%)
LABlab(86.6 -41.9 74.7)
LCHlch(86.6 85.6 119.3)
OKLCHoklch(0.870 0.204 126.3)
Decimal11725624
Display P3color(display-p3 0.698 0.922 0.220)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2eb38 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#b2eb38 on black: 14.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F7DB00
deuteranopia · #F0D84A
tritanopia · #BAE0CA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b2eb38 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
#F3F9E6
#E7F6C6
#D8F599
#C4F066
#b2eb38
#9FDE16
#84B913
#6A940F
#4E6B0F
#314309
Base = 500Lightest = 50 · #F9FCF2Darkest = 950 · #314309
:root {
  --brand-50: #F9FCF2;
  --brand-100: #F3F9E6;
  --brand-200: #E7F6C6;
  --brand-300: #D8F599;
  --brand-400: #C4F066;
  --brand-500: #b2eb38;
  --brand-600: #9FDE16;
  --brand-700: #84B913;
  --brand-800: #6A940F;
  --brand-900: #4E6B0F;
  --brand-950: #314309;
  --brand: #b2eb38;
  --brand-ink: #000000;
}

Colors that work with #b2eb38

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#DEEDC0
Hairlines and dividers
Muted text#819B4B
Captions on the surface
Accent#4134EF
Second voice, not a rival
Dark variant#53740C
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 #b2eb38

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#7138EB
Analogous left#EBCB38
Analogous right#59EB38
Split-complement 1#3859EB
Split-complement 2#CB38EB
Triadic 1#38B2EB
Triadic 2#EB38B2
Tetradic#38EBCB

RGB percentages

Red69.8%
Green92.2%
Blue22.0%

CMYK percentages

Cyan24.3%
Magenta0.0%
Yellow76.2%
Key (black)7.8%

Color previews

#b2eb38 text on a black background

contrast 14.83:1

Card sample

#b2eb38 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2eb38

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.

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

#b2eb38, answered

What color is #b2eb38?

#b2eb38 is a balanced electric green, closest to Green Yellow (ΔE2000 4.6). It sits at 79° on the hue wheel with 82% saturation and 57% lightness, which reads as warm.

What is the RGB value of #b2eb38?

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

Is #b2eb38 a light or a dark color?

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

Should I use black or white text on #b2eb38?

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

What is the complementary color of #b2eb38?

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

What colors go well with #b2eb38?

For interface work: #F8FAF4 as the surface, #DEEDC0 for borders, #819B4B for secondary text, #4134EF as an accent and #53740C for hover and pressed states. For a palette, the analogous pair #EBCB38 and #59EB38 stays calm, while #7138EB is the loudest partner.

What is #b2eb38 in CMYK for printing?

cmyk(24%, 0%, 76%, 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 #b2eb38 warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EBE238; nudged cooler, #70ED36.

Work with #b2eb38 in the Color Lab