Skip to content

#b0d40c

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

RGB
176, 212, 12
HSL
71°, 89%, 44%
CMYK
17, 0, 94, 17
Luminance
0.5634

Every format

HEX#b0d40c
RGBrgb(176, 212, 12)
HSLhsl(71, 89%, 44%)
CMYKcmyk(17%, 0%, 94%, 17%)
LABlab(79.8 -33.6 78.0)
LCHlch(79.8 84.9 113.3)
OKLCHoklch(0.815 0.194 121.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b0d40c on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#b0d40c on black: 12.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.0%
Green83.1%
Blue4.7%

CMYK percentages

Cyan17.0%
Magenta0.0%
Yellow94.3%
Key (black)16.9%

Color previews

#b0d40c text on a black background

contrast 12.27:1

Card sample

#b0d40c text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(176, 212, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 212, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b0d40c;
background: linear-gradient(135deg, #b0d40c, #2BD40C);

Monochromatic scale

Palettes built from #b0d40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b0d40c in the Color Lab