Skip to content

#bafd80

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

RGB
186, 253, 128
HSL
92°, 97%, 75%
CMYK
27, 0, 49, 1
Luminance
0.8225

Every format

HEX#bafd80
RGBrgb(186, 253, 128)
HSLhsl(92, 97%, 75%)
CMYKcmyk(27%, 0%, 49%, 1%)
LABlab(92.7 -41.3 52.8)
LCHlch(92.7 67.0 128.0)
OKLCHoklch(0.923 0.171 132.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bafd80 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#bafd80 on black: 17.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green99.2%
Blue50.2%

CMYK percentages

Cyan26.5%
Magenta0.0%
Yellow49.4%
Key (black)0.8%

Color previews

#bafd80 text on a black background

contrast 17.45:1

Card sample

#bafd80 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 253, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 253, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bafd80;
background: linear-gradient(135deg, #bafd80, #80FD99);

Monochromatic scale

Palettes built from #bafd80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafd80 in the Color Lab