Skip to content

#b2db1b

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

RGB
178, 219, 27
HSL
73°, 78%, 48%
CMYK
19, 0, 88, 14
Luminance
0.6021

Every format

HEX#b2db1b
RGBrgb(178, 219, 27)
HSLhsl(73, 78%, 48%)
CMYKcmyk(19%, 0%, 88%, 14%)
LABlab(82.0 -35.7 77.6)
LCHlch(82.0 85.5 114.7)
OKLCHoklch(0.832 0.198 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2db1b on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#b2db1b on black: 13.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green85.9%
Blue10.6%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow87.7%
Key (black)14.1%

Color previews

#b2db1b text on a black background

contrast 13.04:1

Card sample

#b2db1b text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2db1b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2db1b in the Color Lab