Skip to content

#b3df0c

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

RGB
179, 223, 12
HSL
73°, 90%, 46%
CMYK
20, 0, 95, 13
Luminance
0.6239

Every format

HEX#b3df0c
RGBrgb(179, 223, 12)
HSLhsl(73, 90%, 46%)
CMYKcmyk(20%, 0%, 95%, 13%)
LABlab(83.1 -37.4 80.6)
LCHlch(83.1 88.9 114.9)
OKLCHoklch(0.842 0.205 122.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3df0c on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#b3df0c on black: 13.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green87.5%
Blue4.7%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow94.6%
Key (black)12.5%

Color previews

#b3df0c text on a black background

contrast 13.48:1

Card sample

#b3df0c text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3df0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3df0c in the Color Lab