Skip to content

#baf044

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

RGB
186, 240, 68
HSL
79°, 85%, 60%
CMYK
23, 0, 72, 6
Luminance
0.7318

Every format

HEX#baf044
RGBrgb(186, 240, 68)
HSLhsl(79, 85%, 60%)
CMYKcmyk(23%, 0%, 72%, 6%)
LABlab(88.5 -40.4 72.9)
LCHlch(88.5 83.4 119.0)
OKLCHoklch(0.887 0.200 125.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf044 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#baf044 on black: 15.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green94.1%
Blue26.7%

CMYK percentages

Cyan22.5%
Magenta0.0%
Yellow71.7%
Key (black)5.9%

Color previews

#baf044 text on a black background

contrast 15.64:1

Card sample

#baf044 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf044

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf044 in the Color Lab