Skip to content

#b3d40c

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

RGB
179, 212, 12
HSL
70°, 89%, 44%
CMYK
16, 0, 94, 17
Luminance
0.5670

Every format

HEX#b3d40c
RGBrgb(179, 212, 12)
HSLhsl(70, 89%, 44%)
CMYKcmyk(16%, 0%, 94%, 17%)
LABlab(80.0 -32.4 78.2)
LCHlch(80.0 84.6 112.5)
OKLCHoklch(0.817 0.193 120.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3d40c on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#b3d40c on black: 12.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green83.1%
Blue4.7%

CMYK percentages

Cyan15.6%
Magenta0.0%
Yellow94.3%
Key (black)16.9%

Color previews

#b3d40c text on a black background

contrast 12.34:1

Card sample

#b3d40c text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3d40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3d40c in the Color Lab