Skip to content

#b2ff45

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

RGB
178, 255, 69
HSL
85°, 100%, 64%
CMYK
30, 0, 73, 0
Luminance
0.8141

Every format

HEX#b2ff45
RGBrgb(178, 255, 69)
HSLhsl(85, 100%, 64%)
CMYKcmyk(30%, 0%, 73%, 0%)
LABlab(92.3 -49.7 76.1)
LCHlch(92.3 90.9 123.2)
OKLCHoklch(0.917 0.221 129.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2ff45 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#b2ff45 on black: 17.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green100.0%
Blue27.1%

CMYK percentages

Cyan30.2%
Magenta0.0%
Yellow72.9%
Key (black)0.0%

Color previews

#b2ff45 text on a black background

contrast 17.28:1

Card sample

#b2ff45 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 255, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 255, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2ff45;
background: linear-gradient(135deg, #b2ff45, #45FF54);

Monochromatic scale

Palettes built from #b2ff45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2ff45 in the Color Lab