Skip to content

#b2d430

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

RGB
178, 212, 48
HSL
72°, 66%, 51%
CMYK
16, 0, 77, 17
Luminance
0.5677

Every format

HEX#b2d430
RGBrgb(178, 212, 48)
HSLhsl(72, 66%, 51%)
CMYKcmyk(16%, 0%, 77%, 17%)
LABlab(80.0 -31.8 71.0)
LCHlch(80.0 77.8 114.2)
OKLCHoklch(0.817 0.182 121.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2d430 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#b2d430 on black: 12.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green83.1%
Blue18.8%

CMYK percentages

Cyan16.0%
Magenta0.0%
Yellow77.4%
Key (black)16.9%

Color previews

#b2d430 text on a black background

contrast 12.35:1

Card sample

#b2d430 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2d430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2d430 in the Color Lab