Skip to content

#b2cf5c

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

RGB
178, 207, 92
HSL
75°, 55%, 59%
CMYK
14, 0, 56, 19
Luminance
0.5486

Every format

HEX#b2cf5c
RGBrgb(178, 207, 92)
HSLhsl(75, 55%, 59%)
CMYKcmyk(14%, 0%, 56%, 19%)
LABlab(79.0 -26.7 53.0)
LCHlch(79.0 59.4 116.7)
OKLCHoklch(0.809 0.145 121.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cf5c on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#b2cf5c on black: 11.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green81.2%
Blue36.1%

CMYK percentages

Cyan14.0%
Magenta0.0%
Yellow55.6%
Key (black)18.8%

Color previews

#b2cf5c text on a black background

contrast 11.97:1

Card sample

#b2cf5c text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 207, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 207, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2cf5c;
background: linear-gradient(135deg, #b2cf5c, #65CF5C);

Monochromatic scale

Palettes built from #b2cf5c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cf5c in the Color Lab