Skip to content

#cafef2

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

RGB
202, 254, 242
HSL
166°, 96%, 89%
CMYK
21, 0, 5, 0
Luminance
0.8985

Every format

HEX#cafef2
RGBrgb(202, 254, 242)
HSLhsl(166, 96%, 89%)
CMYKcmyk(21%, 0%, 5%, 0%)
LABlab(95.9 -18.8 0.3)
LCHlch(95.9 18.8 179.0)
OKLCHoklch(0.958 0.055 179.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cafef2 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#cafef2 on black: 18.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green99.6%
Blue94.9%

CMYK percentages

Cyan20.5%
Magenta0.0%
Yellow4.7%
Key (black)0.4%

Color previews

#cafef2 text on a black background

contrast 18.97:1

Card sample

#cafef2 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cafef2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cafef2 in the Color Lab