Skip to content

#baf976

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

RGB
186, 249, 118
HSL
89°, 92%, 72%
CMYK
25, 0, 53, 2
Luminance
0.7950

Every format

HEX#baf976
RGBrgb(186, 249, 118)
HSLhsl(89, 92%, 72%)
CMYKcmyk(25%, 0%, 53%, 2%)
LABlab(91.5 -40.6 55.9)
LCHlch(91.5 69.1 126.0)
OKLCHoklch(0.912 0.174 130.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf976 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#baf976 on black: 16.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green97.6%
Blue46.3%

CMYK percentages

Cyan25.3%
Magenta0.0%
Yellow52.6%
Key (black)2.4%

Color previews

#baf976 text on a black background

contrast 16.90:1

Card sample

#baf976 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 249, 118, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 249, 118, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf976;
background: linear-gradient(135deg, #baf976, #76F98A);

Monochromatic scale

Palettes built from #baf976

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf976 in the Color Lab