Skip to content

#bafff9

a pale, electric cyan · cool · closest name: ivory

RGB
186, 255, 249
HSL
175°, 100%, 87%
CMYK
27, 0, 2, 0
Luminance
0.8880

Every format

HEX#bafff9
RGBrgb(186, 255, 249)
HSLhsl(175, 100%, 87%)
CMYKcmyk(27%, 0%, 2%, 0%)
LABlab(95.5 -22.5 -4.0)
LCHlch(95.5 22.8 190.2)
OKLCHoklch(0.953 0.069 189.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bafff9 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#bafff9 on black: 18.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green100.0%
Blue97.6%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow2.4%
Key (black)0.0%

Color previews

#bafff9 text on a black background

contrast 18.76:1

Card sample

#bafff9 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafff9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafff9 in the Color Lab