Skip to content

#b2f261

a light, electric green · cool · closest name: khaki

RGB
178, 242, 97
HSL
87°, 85%, 67%
CMYK
26, 0, 60, 5
Luminance
0.7383

Every format

HEX#b2f261
RGBrgb(178, 242, 97)
HSLhsl(87, 85%, 67%)
CMYKcmyk(26%, 0%, 60%, 5%)
LABlab(88.8 -42.3 62.0)
LCHlch(88.8 75.0 124.3)
OKLCHoklch(0.889 0.186 129.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green94.9%
Blue38.0%

CMYK percentages

Cyan26.4%
Magenta0.0%
Yellow59.9%
Key (black)5.1%

Color previews

#b2f261 text on a black background

contrast 15.77:1

Card sample

#b2f261 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 242, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 242, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2f261;
background: linear-gradient(135deg, #b2f261, #61F271);

Monochromatic scale

Palettes built from #b2f261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2f261 in the Color Lab