Skip to content

#baf72c

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

RGB
186, 247, 44
HSL
78°, 93%, 57%
CMYK
25, 0, 82, 3
Luminance
0.7714

Every format

HEX#baf72c
RGBrgb(186, 247, 44)
HSLhsl(78, 93%, 57%)
CMYKcmyk(25%, 0%, 82%, 3%)
LABlab(90.4 -44.5 81.5)
LCHlch(90.4 92.8 118.7)
OKLCHoklch(0.902 0.220 126.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf72c on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#baf72c on black: 16.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green96.9%
Blue17.3%

CMYK percentages

Cyan24.7%
Magenta0.0%
Yellow82.2%
Key (black)3.1%

Color previews

#baf72c text on a black background

contrast 16.43:1

Card sample

#baf72c text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf72c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf72c in the Color Lab