Skip to content

#baf082

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

RGB
186, 240, 130
HSL
90°, 79%, 73%
CMYK
23, 0, 46, 6
Luminance
0.7437

Every format

HEX#baf082
RGBrgb(186, 240, 130)
HSLhsl(90, 79%, 73%)
CMYKcmyk(23%, 0%, 46%, 6%)
LABlab(89.1 -35.2 47.5)
LCHlch(89.1 59.1 126.6)
OKLCHoklch(0.894 0.150 130.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf082 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#baf082 on black: 15.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green94.1%
Blue51.0%

CMYK percentages

Cyan22.5%
Magenta0.0%
Yellow45.8%
Key (black)5.9%

Color previews

#baf082 text on a black background

contrast 15.87:1

Card sample

#baf082 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 240, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 240, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf082;
background: linear-gradient(135deg, #baf082, #82F093);

Monochromatic scale

Palettes built from #baf082

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf082 in the Color Lab