Skip to content

#bafd68

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

RGB
186, 253, 104
HSL
87°, 97%, 70%
CMYK
27, 0, 59, 1
Luminance
0.8169

Every format

HEX#bafd68
RGBrgb(186, 253, 104)
HSLhsl(87, 97%, 70%)
CMYKcmyk(27%, 0%, 59%, 1%)
LABlab(92.4 -43.6 63.2)
LCHlch(92.4 76.8 124.6)
OKLCHoklch(0.920 0.191 129.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bafd68 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#bafd68 on black: 17.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green99.2%
Blue40.8%

CMYK percentages

Cyan26.5%
Magenta0.0%
Yellow58.9%
Key (black)0.8%

Color previews

#bafd68 text on a black background

contrast 17.34:1

Card sample

#bafd68 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafd68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafd68 in the Color Lab