Skip to content

#b4da2f

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

RGB
180, 218, 47
HSL
73°, 70%, 52%
CMYK
17, 0, 78, 15
Luminance
0.6005

Every format

HEX#b4da2f
RGBrgb(180, 218, 47)
HSLhsl(73, 70%, 52%)
CMYKcmyk(17%, 0%, 78%, 15%)
LABlab(81.9 -33.9 73.0)
LCHlch(81.9 80.5 114.9)
OKLCHoklch(0.832 0.189 122.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4da2f on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#b4da2f on black: 13.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green85.5%
Blue18.4%

CMYK percentages

Cyan17.4%
Magenta0.0%
Yellow78.4%
Key (black)14.5%

Color previews

#b4da2f text on a black background

contrast 13.01:1

Card sample

#b4da2f text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(180, 218, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 218, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4da2f;
background: linear-gradient(135deg, #b4da2f, #42DA2F);

Monochromatic scale

Palettes built from #b4da2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4da2f in the Color Lab