Skip to content

#b3d712

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

RGB
179, 215, 18
HSL
71°, 85%, 46%
CMYK
17, 0, 92, 16
Luminance
0.5823

Every format

HEX#b3d712
RGBrgb(179, 215, 18)
HSLhsl(71, 85%, 46%)
CMYKcmyk(17%, 0%, 92%, 16%)
LABlab(80.9 -33.7 78.2)
LCHlch(80.9 85.1 113.3)
OKLCHoklch(0.824 0.195 121.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3d712 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#b3d712 on black: 12.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green84.3%
Blue7.1%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow91.6%
Key (black)15.7%

Color previews

#b3d712 text on a black background

contrast 12.65:1

Card sample

#b3d712 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(179, 215, 18, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 215, 18, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b3d712;
background: linear-gradient(135deg, #b3d712, #30D712);

Monochromatic scale

Palettes built from #b3d712

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3d712 in the Color Lab