Skip to content

#bafbc7

a pale, electric green · cool · closest name: aquamarine

RGB
186, 251, 199
HSL
132°, 89%, 86%
CMYK
26, 0, 21, 2
Luminance
0.8356

Every format

HEX#bafbc7
RGBrgb(186, 251, 199)
HSLhsl(132, 89%, 86%)
CMYKcmyk(26%, 0%, 21%, 2%)
LABlab(93.3 -30.3 18.5)
LCHlch(93.3 35.5 148.6)
OKLCHoklch(0.931 0.096 150.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bafbc7 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#bafbc7 on black: 17.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green98.4%
Blue78.0%

CMYK percentages

Cyan25.9%
Magenta0.0%
Yellow20.7%
Key (black)1.6%

Color previews

#bafbc7 text on a black background

contrast 17.71:1

Card sample

#bafbc7 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafbc7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafbc7 in the Color Lab