Skip to content

#b2cf6c

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

RGB
178, 207, 108
HSL
78°, 51%, 62%
CMYK
14, 0, 48, 19
Luminance
0.5517

Every format

HEX#b2cf6c
RGBrgb(178, 207, 108)
HSLhsl(78, 51%, 62%)
CMYKcmyk(14%, 0%, 48%, 19%)
LABlab(79.1 -25.1 45.7)
LCHlch(79.1 52.2 118.8)
OKLCHoklch(0.811 0.130 122.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cf6c on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#b2cf6c on black: 12.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green81.2%
Blue42.4%

CMYK percentages

Cyan14.0%
Magenta0.0%
Yellow47.8%
Key (black)18.8%

Color previews

#b2cf6c text on a black background

contrast 12.03:1

Card sample

#b2cf6c text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cf6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cf6c in the Color Lab