Skip to content

#b3da2d

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

RGB
179, 218, 45
HSL
74°, 70%, 52%
CMYK
18, 0, 79, 15
Luminance
0.5992

Every format

HEX#b3da2d
RGBrgb(179, 218, 45)
HSLhsl(74, 70%, 52%)
CMYKcmyk(18%, 0%, 79%, 15%)
LABlab(81.8 -34.3 73.5)
LCHlch(81.8 81.1 115.0)
OKLCHoklch(0.831 0.190 122.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3da2d on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#b3da2d on black: 12.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green85.5%
Blue17.6%

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow79.4%
Key (black)14.5%

Color previews

#b3da2d text on a black background

contrast 12.98:1

Card sample

#b3da2d text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(179, 218, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 218, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b3da2d;
background: linear-gradient(135deg, #b3da2d, #40DA2D);

Monochromatic scale

Palettes built from #b3da2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3da2d in the Color Lab