Skip to content

#bafec4

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

RGB
186, 254, 196
HSL
129°, 97%, 86%
CMYK
27, 0, 23, 0
Luminance
0.8531

Every format

HEX#bafec4
RGBrgb(186, 254, 196)
HSLhsl(129, 97%, 86%)
CMYKcmyk(27%, 0%, 23%, 0%)
LABlab(94.0 -32.2 21.1)
LCHlch(94.0 38.5 146.8)
OKLCHoklch(0.937 0.103 148.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green99.6%
Blue76.9%

CMYK percentages

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

Color previews

#bafec4 text on a black background

contrast 18.06:1

Card sample

#bafec4 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafec4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafec4 in the Color Lab