Skip to content

#b2d982

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

RGB
178, 217, 130
HSL
87°, 53%, 68%
CMYK
18, 0, 40, 15
Luminance
0.6070

Every format

HEX#b2d982
RGBrgb(178, 217, 130)
HSLhsl(87, 53%, 68%)
CMYKcmyk(18%, 0%, 40%, 15%)
LABlab(82.2 -27.4 38.7)
LCHlch(82.2 47.4 125.3)
OKLCHoklch(0.837 0.121 128.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2d982 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#b2d982 on black: 13.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green85.1%
Blue51.0%

CMYK percentages

Cyan18.0%
Magenta0.0%
Yellow40.1%
Key (black)14.9%

Color previews

#b2d982 text on a black background

contrast 13.14:1

Card sample

#b2d982 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 217, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 217, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2d982;
background: linear-gradient(135deg, #b2d982, #82D98C);

Monochromatic scale

Palettes built from #b2d982

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2d982 in the Color Lab