Skip to content

#b2db59

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

RGB
178, 219, 89
HSL
79°, 64%, 60%
CMYK
19, 0, 59, 14
Luminance
0.6085

Every format

HEX#b2db59
RGBrgb(178, 219, 89)
HSLhsl(79, 64%, 60%)
CMYKcmyk(19%, 0%, 59%, 14%)
LABlab(82.3 -32.6 58.1)
LCHlch(82.3 66.6 119.3)
OKLCHoklch(0.836 0.164 124.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green85.9%
Blue34.9%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow59.4%
Key (black)14.1%

Color previews

#b2db59 text on a black background

contrast 13.17:1

Card sample

#b2db59 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2db59

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2db59 in the Color Lab