Skip to content

#bafbb8

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

RGB
186, 251, 184
HSL
118°, 89%, 85%
CMYK
26, 0, 27, 2
Luminance
0.8289

Every format

HEX#bafbb8
RGBrgb(186, 251, 184)
HSLhsl(118, 89%, 85%)
CMYKcmyk(26%, 0%, 27%, 2%)
LABlab(93.0 -32.8 25.8)
LCHlch(93.0 41.7 141.9)
OKLCHoklch(0.928 0.111 143.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green98.4%
Blue72.2%

CMYK percentages

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

Color previews

#bafbb8 text on a black background

contrast 17.58:1

Card sample

#bafbb8 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafbb8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafbb8 in the Color Lab