Skip to content

#bafeb3

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

RGB
186, 254, 179
HSL
114°, 97%, 85%
CMYK
27, 0, 30, 0
Luminance
0.8458

Every format

HEX#bafeb3
RGBrgb(186, 254, 179)
HSLhsl(114, 97%, 85%)
CMYKcmyk(27%, 0%, 30%, 0%)
LABlab(93.7 -35.0 29.3)
LCHlch(93.7 45.6 140.1)
OKLCHoklch(0.933 0.121 142.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green99.6%
Blue70.2%

CMYK percentages

Cyan26.8%
Magenta0.0%
Yellow29.5%
Key (black)0.4%

Color previews

#bafeb3 text on a black background

contrast 17.92:1

Card sample

#bafeb3 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafeb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafeb3 in the Color Lab