Skip to content

#b2d52f

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

RGB
178, 213, 47
HSL
73°, 66%, 51%
CMYK
16, 0, 78, 17
Luminance
0.5726

Every format

HEX#b2d52f
RGBrgb(178, 213, 47)
HSLhsl(73, 66%, 51%)
CMYKcmyk(16%, 0%, 78%, 17%)
LABlab(80.3 -32.4 71.6)
LCHlch(80.3 78.5 114.3)
OKLCHoklch(0.819 0.184 121.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2d52f on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#b2d52f on black: 12.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green83.5%
Blue18.4%

CMYK percentages

Cyan16.4%
Magenta0.0%
Yellow77.9%
Key (black)16.5%

Color previews

#b2d52f text on a black background

contrast 12.45:1

Card sample

#b2d52f text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2d52f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2d52f in the Color Lab