Skip to content

#bafff2

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

RGB
186, 255, 242
HSL
169°, 100%, 87%
CMYK
27, 0, 5, 0
Luminance
0.8837

Every format

HEX#bafff2
RGBrgb(186, 255, 242)
HSLhsl(169, 100%, 87%)
CMYKcmyk(27%, 0%, 5%, 0%)
LABlab(95.3 -23.9 -0.7)
LCHlch(95.3 24.0 181.6)
OKLCHoklch(0.951 0.071 181.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green100.0%
Blue94.9%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow5.1%
Key (black)0.0%

Color previews

#bafff2 text on a black background

contrast 18.67:1

Card sample

#bafff2 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafff2 in the Color Lab