Skip to content

#b2ce2d

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

RGB
178, 206, 45
HSL
70°, 64%, 49%
CMYK
14, 0, 78, 19
Luminance
0.5380

Every format

HEX#b2ce2d
RGBrgb(178, 206, 45)
HSLhsl(70, 64%, 49%)
CMYKcmyk(14%, 0%, 78%, 19%)
LABlab(78.3 -29.1 70.3)
LCHlch(78.3 76.1 112.5)
OKLCHoklch(0.803 0.177 119.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2ce2d on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#b2ce2d on black: 11.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green80.8%
Blue17.6%

CMYK percentages

Cyan13.6%
Magenta0.0%
Yellow78.2%
Key (black)19.2%

Color previews

#b2ce2d text on a black background

contrast 11.76:1

Card sample

#b2ce2d text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2ce2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2ce2d in the Color Lab