Skip to content

#baf657

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

RGB
186, 246, 87
HSL
83°, 90%, 65%
CMYK
24, 0, 65, 4
Luminance
0.7704

Every format

HEX#baf657
RGBrgb(186, 246, 87)
HSLhsl(83, 90%, 65%)
CMYKcmyk(24%, 0%, 65%, 4%)
LABlab(90.3 -41.9 67.8)
LCHlch(90.3 79.7 121.7)
OKLCHoklch(0.902 0.195 127.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf657 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#baf657 on black: 16.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green96.5%
Blue34.1%

CMYK percentages

Cyan24.4%
Magenta0.0%
Yellow64.6%
Key (black)3.5%

Color previews

#baf657 text on a black background

contrast 16.41:1

Card sample

#baf657 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 246, 87, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 246, 87, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf657;
background: linear-gradient(135deg, #baf657, #57F65E);

Monochromatic scale

Palettes built from #baf657

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf657 in the Color Lab