Skip to content

#b2cd5b

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

RGB
178, 205, 91
HSL
74°, 53%, 58%
CMYK
13, 0, 56, 20
Luminance
0.5388

Every format

HEX#b2cd5b
RGBrgb(178, 205, 91)
HSLhsl(74, 53%, 58%)
CMYKcmyk(13%, 0%, 56%, 20%)
LABlab(78.4 -25.8 52.8)
LCHlch(78.4 58.8 116.0)
OKLCHoklch(0.805 0.144 120.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cd5b on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#b2cd5b on black: 11.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green80.4%
Blue35.7%

CMYK percentages

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

Color previews

#b2cd5b text on a black background

contrast 11.78:1

Card sample

#b2cd5b text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cd5b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cd5b in the Color Lab