Skip to content

#b2db6b

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

RGB
178, 219, 107
HSL
82°, 61%, 64%
CMYK
19, 0, 51, 14
Luminance
0.6119

Every format

HEX#b2db6b
RGBrgb(178, 219, 107)
HSLhsl(82, 61%, 64%)
CMYKcmyk(19%, 0%, 51%, 14%)
LABlab(82.5 -30.9 50.2)
LCHlch(82.5 59.0 121.6)
OKLCHoklch(0.838 0.147 126.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2db6b on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#b2db6b on black: 13.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green85.9%
Blue42.0%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow51.1%
Key (black)14.1%

Color previews

#b2db6b text on a black background

contrast 13.24:1

Card sample

#b2db6b text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 219, 107, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 219, 107, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2db6b;
background: linear-gradient(135deg, #b2db6b, #6BDB6F);

Monochromatic scale

Palettes built from #b2db6b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2db6b in the Color Lab