Skip to content

#baf25b

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

RGB
186, 242, 91
HSL
82°, 85%, 65%
CMYK
23, 0, 62, 5
Luminance
0.7470

Every format

HEX#baf25b
RGBrgb(186, 242, 91)
HSLhsl(82, 85%, 65%)
CMYKcmyk(23%, 0%, 62%, 5%)
LABlab(89.3 -39.8 65.0)
LCHlch(89.3 76.3 121.5)
OKLCHoklch(0.894 0.187 127.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green94.9%
Blue35.7%

CMYK percentages

Cyan23.1%
Magenta0.0%
Yellow62.4%
Key (black)5.1%

Color previews

#baf25b text on a black background

contrast 15.94:1

Card sample

#baf25b text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 242, 91, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 242, 91, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf25b;
background: linear-gradient(135deg, #baf25b, #5BF261);

Monochromatic scale

Palettes built from #baf25b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf25b in the Color Lab