Skip to content

#b2dc2f

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

RGB
178, 220, 47
HSL
75°, 71%, 52%
CMYK
19, 0, 79, 14
Luminance
0.6086

Every format

HEX#b2dc2f
RGBrgb(178, 220, 47)
HSLhsl(75, 71%, 52%)
CMYKcmyk(19%, 0%, 79%, 14%)
LABlab(82.3 -35.6 73.3)
LCHlch(82.3 81.5 115.9)
OKLCHoklch(0.835 0.192 123.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2dc2f on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#b2dc2f on black: 13.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green86.3%
Blue18.4%

CMYK percentages

Cyan19.1%
Magenta0.0%
Yellow78.6%
Key (black)13.7%

Color previews

#b2dc2f text on a black background

contrast 13.17:1

Card sample

#b2dc2f text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2dc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2dc2f in the Color Lab