Skip to content

#baf409

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

RGB
186, 244, 9
HSL
75°, 93%, 50%
CMYK
24, 0, 96, 4
Luminance
0.7516

Every format

HEX#baf409
RGBrgb(186, 244, 9)
HSLhsl(75, 93%, 50%)
CMYKcmyk(24%, 0%, 96%, 4%)
LABlab(89.5 -44.0 86.0)
LCHlch(89.5 96.6 117.1)
OKLCHoklch(0.894 0.224 125.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf409 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#baf409 on black: 16.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green95.7%
Blue3.5%

CMYK percentages

Cyan23.8%
Magenta0.0%
Yellow96.3%
Key (black)4.3%

Color previews

#baf409 text on a black background

contrast 16.03:1

Card sample

#baf409 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf409

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf409 in the Color Lab