Skip to content

#b2ec2f

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

RGB
178, 236, 47
HSL
78°, 83%, 56%
CMYK
25, 0, 80, 8
Luminance
0.6966

Every format

HEX#b2ec2f
RGBrgb(178, 236, 47)
HSLhsl(78, 83%, 56%)
CMYKcmyk(25%, 0%, 80%, 8%)
LABlab(86.8 -42.7 77.4)
LCHlch(86.8 88.4 118.9)
OKLCHoklch(0.872 0.210 126.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2ec2f on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#b2ec2f on black: 14.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green92.5%
Blue18.4%

CMYK percentages

Cyan24.6%
Magenta0.0%
Yellow80.1%
Key (black)7.5%

Color previews

#b2ec2f text on a black background

contrast 14.93:1

Card sample

#b2ec2f text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2ec2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2ec2f in the Color Lab