Skip to content

#b2cd4d

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

RGB
178, 205, 77
HSL
73°, 56%, 55%
CMYK
13, 0, 62, 20
Luminance
0.5366

Every format

HEX#b2cd4d
RGBrgb(178, 205, 77)
HSLhsl(73, 56%, 55%)
CMYKcmyk(13%, 0%, 62%, 20%)
LABlab(78.3 -26.9 58.8)
LCHlch(78.3 64.7 114.6)
OKLCHoklch(0.803 0.156 120.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green80.4%
Blue30.2%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow62.4%
Key (black)19.6%

Color previews

#b2cd4d text on a black background

contrast 11.73:1

Card sample

#b2cd4d text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cd4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cd4d in the Color Lab