Skip to content

#b2db0d

a balanced, electric green · cool · closest name: yellow

RGB
178, 219, 13
HSL
72°, 89%, 46%
CMYK
19, 0, 94, 14
Luminance
0.6016

Every format

HEX#b2db0d
RGBrgb(178, 219, 13)
HSLhsl(72, 89%, 46%)
CMYKcmyk(19%, 0%, 94%, 14%)
LABlab(81.9 -36.0 79.5)
LCHlch(81.9 87.3 114.3)
OKLCHoklch(0.832 0.201 122.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2db0d on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#b2db0d on black: 13.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green85.9%
Blue5.1%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow94.1%
Key (black)14.1%

Color previews

#b2db0d text on a black background

contrast 13.03:1

Card sample

#b2db0d text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2db0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2db0d in the Color Lab