Skip to content

#b2f331

a balanced, electric green · cool · closest name: yellow

RGB
178, 243, 49
HSL
80°, 89%, 57%
CMYK
27, 0, 80, 5
Luminance
0.7379

Every format

HEX#b2f331
RGBrgb(178, 243, 49)
HSLhsl(80, 89%, 57%)
CMYKcmyk(27%, 0%, 80%, 5%)
LABlab(88.8 -45.6 78.7)
LCHlch(88.8 90.9 120.1)
OKLCHoklch(0.888 0.217 127.4)

Copy-ready code

/* CSS */
color: #b2f331;
background-color: #b2f331;
/* Tailwind (arbitrary) */
class="text-[#b2f331] bg-[#b2f331]"
/* SCSS */
$brand: #b2f331;
/* SwiftUI */
Color(red: 0.698, green: 0.953, blue: 0.192)
/* Android */
Color.parseColor("#b2f331")

Accessibility — WCAG contrast

Aa
#b2f331 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#b2f331 on black: 15.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green95.3%
Blue19.2%

CMYK percentages

Cyan26.7%
Magenta0.0%
Yellow79.8%
Key (black)4.7%

Color previews

#b2f331 text on a black background

contrast 15.76:1

Card sample

#b2f331 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 243, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 243, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2f331;
background: linear-gradient(135deg, #b2f331, #31F332);

Monochromatic scale

Palettes built from #b2f331

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2f331 in the Color Lab