Skip to content

#baf261

a light, electric green · cool · closest name: khaki

RGB
186, 242, 97
HSL
83°, 85%, 67%
CMYK
23, 0, 60, 5
Luminance
0.7481

Every format

HEX#baf261
RGBrgb(186, 242, 97)
HSLhsl(83, 85%, 67%)
CMYKcmyk(23%, 0%, 60%, 5%)
LABlab(89.3 -39.4 62.6)
LCHlch(89.3 74.0 122.1)
OKLCHoklch(0.894 0.183 127.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf261 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#baf261 on black: 15.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green94.9%
Blue38.0%

CMYK percentages

Cyan23.1%
Magenta0.0%
Yellow59.9%
Key (black)5.1%

Color previews

#baf261 text on a black background

contrast 15.96:1

Card sample

#baf261 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 242, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 242, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf261;
background: linear-gradient(135deg, #baf261, #61F269);

Monochromatic scale

Palettes built from #baf261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf261 in the Color Lab