Skip to content

#b2f045

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

RGB
178, 240, 69
HSL
82°, 85%, 61%
CMYK
26, 0, 71, 6
Luminance
0.7221

Every format

HEX#b2f045
RGBrgb(178, 240, 69)
HSLhsl(82, 85%, 61%)
CMYKcmyk(26%, 0%, 71%, 6%)
LABlab(88.1 -43.4 72.0)
LCHlch(88.1 84.0 121.1)
OKLCHoklch(0.882 0.203 127.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2f045 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#b2f045 on black: 15.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green94.1%
Blue27.1%

CMYK percentages

Cyan25.8%
Magenta0.0%
Yellow71.3%
Key (black)5.9%

Color previews

#b2f045 text on a black background

contrast 15.44:1

Card sample

#b2f045 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2f045

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2f045 in the Color Lab