Skip to content

#b2cc80

a light, soft green · cool · closest name: khaki

RGB
178, 204, 128
HSL
81°, 43%, 65%
CMYK
13, 0, 37, 20
Luminance
0.5421

Every format

HEX#b2cc80
RGBrgb(178, 204, 128)
HSLhsl(81, 43%, 65%)
CMYKcmyk(13%, 0%, 37%, 20%)
LABlab(78.6 -21.3 35.0)
LCHlch(78.6 41.0 121.3)
OKLCHoklch(0.808 0.104 124.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cc80 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#b2cc80 on black: 11.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green80.0%
Blue50.2%

CMYK percentages

Cyan12.7%
Magenta0.0%
Yellow37.3%
Key (black)20.0%

Color previews

#b2cc80 text on a black background

contrast 11.84:1

Card sample

#b2cc80 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 204, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 204, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2cc80;
background: linear-gradient(135deg, #b2cc80, #80CC81);

Monochromatic scale

Palettes built from #b2cc80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cc80 in the Color Lab