Skip to content

#b2c577

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

RGB
178, 197, 119
HSL
75°, 40%, 62%
CMYK
10, 0, 40, 23
Luminance
0.5073

Every format

HEX#b2c577
RGBrgb(178, 197, 119)
HSLhsl(75, 40%, 62%)
CMYKcmyk(10%, 0%, 40%, 23%)
LABlab(76.5 -19.0 37.0)
LCHlch(76.5 41.5 117.2)
OKLCHoklch(0.791 0.104 120.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2c577 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#b2c577 on black: 11.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green77.3%
Blue46.7%

CMYK percentages

Cyan9.6%
Magenta0.0%
Yellow39.6%
Key (black)22.7%

Color previews

#b2c577 text on a black background

contrast 11.15:1

Card sample

#b2c577 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 197, 119, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 197, 119, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2c577;
background: linear-gradient(135deg, #b2c577, #7EC577);

Monochromatic scale

Palettes built from #b2c577

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2c577 in the Color Lab