Skip to content

#baf2d9

a light, vivid green · cool · closest name: beige

RGB
186, 242, 217
HSL
153°, 68%, 84%
CMYK
23, 0, 10, 5
Luminance
0.7895

Every format

HEX#baf2d9
RGBrgb(186, 242, 217)
HSLhsl(153, 68%, 84%)
CMYKcmyk(23%, 0%, 10%, 5%)
LABlab(91.2 -22.7 6.3)
LCHlch(91.2 23.6 164.5)
OKLCHoklch(0.916 0.066 165.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf2d9 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#baf2d9 on black: 16.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green94.9%
Blue85.1%

CMYK percentages

Cyan23.1%
Magenta0.0%
Yellow10.3%
Key (black)5.1%

Color previews

#baf2d9 text on a black background

contrast 16.79:1

Card sample

#baf2d9 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf2d9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf2d9 in the Color Lab