Skip to content

#baeb8c

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

RGB
186, 235, 140
HSL
91°, 70%, 74%
CMYK
21, 0, 40, 8
Luminance
0.7175

Every format

HEX#baeb8c
RGBrgb(186, 235, 140)
HSLhsl(91, 70%, 74%)
CMYKcmyk(21%, 0%, 40%, 8%)
LABlab(87.8 -31.7 41.0)
LCHlch(87.8 51.9 127.7)
OKLCHoklch(0.884 0.133 130.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baeb8c on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#baeb8c on black: 15.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green92.2%
Blue54.9%

CMYK percentages

Cyan20.9%
Magenta0.0%
Yellow40.4%
Key (black)7.8%

Color previews

#baeb8c text on a black background

contrast 15.35:1

Card sample

#baeb8c text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 235, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 235, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baeb8c;
background: linear-gradient(135deg, #baeb8c, #8CEB9D);

Monochromatic scale

Palettes built from #baeb8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baeb8c in the Color Lab