Skip to content

#baf960

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

RGB
186, 249, 96
HSL
85°, 93%, 68%
CMYK
25, 0, 61, 2
Luminance
0.7903

Every format

HEX#baf960
RGBrgb(186, 249, 96)
HSLhsl(85, 93%, 68%)
CMYKcmyk(25%, 0%, 61%, 2%)
LABlab(91.3 -42.5 65.2)
LCHlch(91.3 77.8 123.1)
OKLCHoklch(0.910 0.192 128.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf960 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#baf960 on black: 16.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green97.6%
Blue37.6%

CMYK percentages

Cyan25.3%
Magenta0.0%
Yellow61.4%
Key (black)2.4%

Color previews

#baf960 text on a black background

contrast 16.81:1

Card sample

#baf960 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf960

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf960 in the Color Lab