Skip to content

#b4dc21

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

RGB
180, 220, 33
HSL
73°, 74%, 50%
CMYK
18, 0, 85, 14
Luminance
0.6100

Every format

HEX#b4dc21
RGBrgb(180, 220, 33)
HSLhsl(73, 74%, 50%)
CMYKcmyk(18%, 0%, 85%, 14%)
LABlab(82.4 -35.2 76.9)
LCHlch(82.4 84.6 114.6)
OKLCHoklch(0.836 0.196 122.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.6%
Green86.3%
Blue12.9%

CMYK percentages

Cyan18.2%
Magenta0.0%
Yellow85.0%
Key (black)13.7%

Color previews

#b4dc21 text on a black background

contrast 13.20:1

Card sample

#b4dc21 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(180, 220, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 220, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4dc21;
background: linear-gradient(135deg, #b4dc21, #37DC21);

Monochromatic scale

Palettes built from #b4dc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4dc21 in the Color Lab