Skip to content

#baf45d

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

RGB
186, 244, 93
HSL
83°, 87%, 66%
CMYK
24, 0, 62, 4
Luminance
0.7593

Every format

HEX#baf45d
RGBrgb(186, 244, 93)
HSLhsl(83, 87%, 66%)
CMYKcmyk(24%, 0%, 62%, 4%)
LABlab(89.8 -40.6 64.9)
LCHlch(89.8 76.5 122.0)
OKLCHoklch(0.898 0.188 127.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf45d on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#baf45d on black: 16.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green95.7%
Blue36.5%

CMYK percentages

Cyan23.8%
Magenta0.0%
Yellow61.9%
Key (black)4.3%

Color previews

#baf45d text on a black background

contrast 16.19:1

Card sample

#baf45d text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf45d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf45d in the Color Lab