Skip to content

#b3df42

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

RGB
179, 223, 66
HSL
77°, 71%, 57%
CMYK
20, 0, 70, 13
Luminance
0.6275

Every format

HEX#b3df42
RGBrgb(179, 223, 66)
HSLhsl(77, 71%, 57%)
CMYKcmyk(20%, 0%, 70%, 13%)
LABlab(83.3 -35.6 68.3)
LCHlch(83.3 77.0 117.5)
OKLCHoklch(0.844 0.184 124.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3df42 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#b3df42 on black: 13.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green87.5%
Blue25.9%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow70.4%
Key (black)12.5%

Color previews

#b3df42 text on a black background

contrast 13.55:1

Card sample

#b3df42 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3df42

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3df42 in the Color Lab