Skip to content

#baf32c

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

RGB
186, 243, 44
HSL
77°, 89%, 56%
CMYK
24, 0, 82, 5
Luminance
0.7472

Every format

HEX#baf32c
RGBrgb(186, 243, 44)
HSLhsl(77, 89%, 56%)
CMYKcmyk(24%, 0%, 82%, 5%)
LABlab(89.3 -42.8 80.5)
LCHlch(89.3 91.2 118.0)
OKLCHoklch(0.893 0.215 125.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf32c on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#baf32c on black: 15.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green95.3%
Blue17.3%

CMYK percentages

Cyan23.5%
Magenta0.0%
Yellow81.9%
Key (black)4.7%

Color previews

#baf32c text on a black background

contrast 15.94:1

Card sample

#baf32c text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 243, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 243, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf32c;
background: linear-gradient(135deg, #baf32c, #35F32C);

Monochromatic scale

Palettes built from #baf32c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf32c in the Color Lab