Skip to content

#b2db6f

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

RGB
178, 219, 111
HSL
83°, 60%, 65%
CMYK
19, 0, 49, 14
Luminance
0.6128

Every format

HEX#b2db6f
RGBrgb(178, 219, 111)
HSLhsl(83, 60%, 65%)
CMYKcmyk(19%, 0%, 49%, 14%)
LABlab(82.5 -30.5 48.4)
LCHlch(82.5 57.2 122.3)
OKLCHoklch(0.839 0.144 126.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2db6f on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#b2db6f on black: 13.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green85.9%
Blue43.5%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow49.3%
Key (black)14.1%

Color previews

#b2db6f text on a black background

contrast 13.26:1

Card sample

#b2db6f text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2db6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2db6f in the Color Lab