Skip to content

#b2db72

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

RGB
178, 219, 114
HSL
83°, 59%, 65%
CMYK
19, 0, 48, 14
Luminance
0.6134

Every format

HEX#b2db72
RGBrgb(178, 219, 114)
HSLhsl(83, 59%, 65%)
CMYKcmyk(19%, 0%, 48%, 14%)
LABlab(82.6 -30.2 47.0)
LCHlch(82.6 55.9 122.7)
OKLCHoklch(0.839 0.141 126.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green85.9%
Blue44.7%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow47.9%
Key (black)14.1%

Color previews

#b2db72 text on a black background

contrast 13.27:1

Card sample

#b2db72 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2db72

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2db72 in the Color Lab