Skip to content

#bafec0

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

RGB
186, 254, 192
HSL
125°, 97%, 86%
CMYK
27, 0, 24, 0
Luminance
0.8513

Every format

HEX#bafec0
RGBrgb(186, 254, 192)
HSLhsl(125, 97%, 86%)
CMYKcmyk(27%, 0%, 24%, 0%)
LABlab(93.9 -32.9 23.0)
LCHlch(93.9 40.1 145.0)
OKLCHoklch(0.936 0.107 146.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bafec0 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#bafec0 on black: 18.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green99.6%
Blue75.3%

CMYK percentages

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

Color previews

#bafec0 text on a black background

contrast 18.03:1

Card sample

#bafec0 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafec0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafec0 in the Color Lab