Skip to content

#baec2f

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

RGB
186, 236, 47
HSL
76°, 83%, 56%
CMYK
21, 0, 80, 8
Luminance
0.7064

Every format

HEX#baec2f
RGBrgb(186, 236, 47)
HSLhsl(76, 83%, 56%)
CMYKcmyk(21%, 0%, 80%, 8%)
LABlab(87.3 -39.6 78.0)
LCHlch(87.3 87.5 116.9)
OKLCHoklch(0.877 0.206 124.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green92.5%
Blue18.4%

CMYK percentages

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

Color previews

#baec2f text on a black background

contrast 15.13:1

Card sample

#baec2f text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baec2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baec2f in the Color Lab