Skip to content

#b2db6c

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

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

Every format

HEX#b2db6c
RGBrgb(178, 219, 108)
HSLhsl(82, 61%, 64%)
CMYKcmyk(19%, 0%, 51%, 14%)
LABlab(82.5 -30.8 49.8)
LCHlch(82.5 58.5 121.8)
OKLCHoklch(0.838 0.146 126.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green85.9%
Blue42.4%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow50.7%
Key (black)14.1%

Color previews

#b2db6c text on a black background

contrast 13.24:1

Card sample

#b2db6c text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2db6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2db6c in the Color Lab