Skip to content

#b2ec0f

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

RGB
178, 236, 15
HSL
76°, 88%, 49%
CMYK
25, 0, 94, 8
Luminance
0.6949

Every format

HEX#b2ec0f
RGBrgb(178, 236, 15)
HSLhsl(76, 88%, 49%)
CMYKcmyk(25%, 0%, 94%, 8%)
LABlab(86.8 -43.5 83.1)
LCHlch(86.8 93.8 117.6)
OKLCHoklch(0.871 0.219 125.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green92.5%
Blue5.9%

CMYK percentages

Cyan24.6%
Magenta0.0%
Yellow93.6%
Key (black)7.5%

Color previews

#b2ec0f text on a black background

contrast 14.90:1

Card sample

#b2ec0f text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2ec0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2ec0f in the Color Lab