Skip to content

#b2cd2e

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

RGB
178, 205, 46
HSL
70°, 63%, 49%
CMYK
13, 0, 78, 20
Luminance
0.5332

Every format

HEX#b2cd2e
RGBrgb(178, 205, 46)
HSLhsl(70, 63%, 49%)
CMYKcmyk(13%, 0%, 78%, 20%)
LABlab(78.1 -28.6 69.8)
LCHlch(78.1 75.4 112.3)
OKLCHoklch(0.801 0.175 119.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cd2e on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#b2cd2e on black: 11.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green80.4%
Blue18.0%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow77.6%
Key (black)19.6%

Color previews

#b2cd2e text on a black background

contrast 11.66:1

Card sample

#b2cd2e text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cd2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cd2e in the Color Lab