Skip to content

#baec2d

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

RGB
186, 236, 45
HSL
76°, 83%, 55%
CMYK
21, 0, 81, 8
Luminance
0.7062

Every format

HEX#baec2d
RGBrgb(186, 236, 45)
HSLhsl(76, 83%, 55%)
CMYKcmyk(21%, 0%, 81%, 8%)
LABlab(87.3 -39.7 78.5)
LCHlch(87.3 88.0 116.8)
OKLCHoklch(0.877 0.207 124.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baec2d on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#baec2d on black: 15.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green92.5%
Blue17.6%

CMYK percentages

Cyan21.2%
Magenta0.0%
Yellow80.9%
Key (black)7.5%

Color previews

#baec2d text on a black background

contrast 15.12:1

Card sample

#baec2d text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 236, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 236, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baec2d;
background: linear-gradient(135deg, #baec2d, #3BEC2D);

Monochromatic scale

Palettes built from #baec2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baec2d in the Color Lab