Skip to content

#baf039

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

RGB
186, 240, 57
HSL
78°, 86%, 58%
CMYK
23, 0, 76, 6
Luminance
0.7305

Every format

HEX#baf039
RGBrgb(186, 240, 57)
HSLhsl(78, 86%, 58%)
CMYKcmyk(23%, 0%, 76%, 6%)
LABlab(88.5 -41.0 76.3)
LCHlch(88.5 86.6 118.2)
OKLCHoklch(0.887 0.206 125.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf039 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#baf039 on black: 15.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green94.1%
Blue22.4%

CMYK percentages

Cyan22.5%
Magenta0.0%
Yellow76.3%
Key (black)5.9%

Color previews

#baf039 text on a black background

contrast 15.61:1

Card sample

#baf039 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 240, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 240, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf039;
background: linear-gradient(135deg, #baf039, #40F039);

Monochromatic scale

Palettes built from #baf039

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf039 in the Color Lab