Skip to content

#b2cf99

a light, soft green · cool · closest name: tan

RGB
178, 207, 153
HSL
92°, 36%, 71%
CMYK
14, 0, 26, 19
Luminance
0.5639

Every format

HEX#b2cf99
RGBrgb(178, 207, 153)
HSLhsl(92, 36%, 71%)
CMYKcmyk(14%, 0%, 26%, 19%)
LABlab(79.8 -19.3 23.7)
LCHlch(79.8 30.6 129.2)
OKLCHoklch(0.819 0.080 131.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cf99 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#b2cf99 on black: 12.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green81.2%
Blue60.0%

CMYK percentages

Cyan14.0%
Magenta0.0%
Yellow26.1%
Key (black)18.8%

Color previews

#b2cf99 text on a black background

contrast 12.28:1

Card sample

#b2cf99 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cf99

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cf99 in the Color Lab