Skip to content

#b9fc2f

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

RGB
185, 252, 47
HSL
80°, 97%, 59%
CMYK
27, 0, 81, 1
Luminance
0.8014

Every format

HEX#b9fc2f
RGBrgb(185, 252, 47)
HSLhsl(80, 97%, 59%)
CMYKcmyk(27%, 0%, 81%, 1%)
LABlab(91.8 -46.9 81.9)
LCHlch(91.8 94.4 119.8)
OKLCHoklch(0.913 0.224 127.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b9fc2f on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#b9fc2f on black: 17.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green98.8%
Blue18.4%

CMYK percentages

Cyan26.6%
Magenta0.0%
Yellow81.3%
Key (black)1.2%

Color previews

#b9fc2f text on a black background

contrast 17.03:1

Card sample

#b9fc2f text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(185, 252, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(185, 252, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b9fc2f;
background: linear-gradient(135deg, #b9fc2f, #30FC2F);

Monochromatic scale

Palettes built from #b9fc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b9fc2f in the Color Lab