Skip to content

#b2cf6e

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

RGB
178, 207, 110
HSL
78°, 50%, 62%
CMYK
14, 0, 47, 19
Luminance
0.5522

Every format

HEX#b2cf6e
RGBrgb(178, 207, 110)
HSLhsl(78, 50%, 62%)
CMYKcmyk(14%, 0%, 47%, 19%)
LABlab(79.2 -24.9 44.8)
LCHlch(79.2 51.2 119.1)
OKLCHoklch(0.812 0.128 122.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green81.2%
Blue43.1%

CMYK percentages

Cyan14.0%
Magenta0.0%
Yellow46.9%
Key (black)18.8%

Color previews

#b2cf6e text on a black background

contrast 12.04:1

Card sample

#b2cf6e text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cf6e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cf6e in the Color Lab