Skip to content

#bafab2

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

RGB
186, 250, 178
HSL
113°, 88%, 84%
CMYK
26, 0, 29, 2
Luminance
0.8202

Every format

HEX#bafab2
RGBrgb(186, 250, 178)
HSLhsl(113, 88%, 84%)
CMYKcmyk(26%, 0%, 29%, 2%)
LABlab(92.6 -33.3 28.3)
LCHlch(92.6 43.7 139.7)
OKLCHoklch(0.924 0.116 141.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green98.0%
Blue69.8%

CMYK percentages

Cyan25.6%
Magenta0.0%
Yellow28.8%
Key (black)2.0%

Color previews

#bafab2 text on a black background

contrast 17.40:1

Card sample

#bafab2 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafab2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafab2 in the Color Lab