Skip to content

#bafec5

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

RGB
186, 254, 197
HSL
130°, 97%, 86%
CMYK
27, 0, 22, 0
Luminance
0.8535

Every format

HEX#bafec5
RGBrgb(186, 254, 197)
HSLhsl(130, 97%, 86%)
CMYKcmyk(27%, 0%, 22%, 0%)
LABlab(94.0 -32.0 20.6)
LCHlch(94.0 38.1 147.3)
OKLCHoklch(0.937 0.102 149.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bafec5 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#bafec5 on black: 18.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green99.6%
Blue77.3%

CMYK percentages

Cyan26.8%
Magenta0.0%
Yellow22.4%
Key (black)0.4%

Color previews

#bafec5 text on a black background

contrast 18.07:1

Card sample

#bafec5 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafec5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafec5 in the Color Lab