Skip to content

#baf686

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

RGB
186, 246, 134
HSL
92°, 86%, 75%
CMYK
24, 0, 46, 4
Luminance
0.7807

Every format

HEX#baf686
RGBrgb(186, 246, 134)
HSLhsl(92, 86%, 75%)
CMYKcmyk(24%, 0%, 46%, 4%)
LABlab(90.8 -37.5 47.7)
LCHlch(90.8 60.7 128.2)
OKLCHoklch(0.908 0.155 131.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf686 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#baf686 on black: 16.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green96.5%
Blue52.5%

CMYK percentages

Cyan24.4%
Magenta0.0%
Yellow45.5%
Key (black)3.5%

Color previews

#baf686 text on a black background

contrast 16.61:1

Card sample

#baf686 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf686

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf686 in the Color Lab