Skip to content

#b2cf56

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

RGB
178, 207, 86
HSL
74°, 56%, 58%
CMYK
14, 0, 59, 19
Luminance
0.5476

Every format

HEX#b2cf56
RGBrgb(178, 207, 86)
HSLhsl(74, 56%, 58%)
CMYKcmyk(14%, 0%, 59%, 19%)
LABlab(78.9 -27.2 55.6)
LCHlch(78.9 61.9 116.0)
OKLCHoklch(0.809 0.151 121.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cf56 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#b2cf56 on black: 11.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green81.2%
Blue33.7%

CMYK percentages

Cyan14.0%
Magenta0.0%
Yellow58.5%
Key (black)18.8%

Color previews

#b2cf56 text on a black background

contrast 11.95:1

Card sample

#b2cf56 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cf56

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cf56 in the Color Lab