Skip to content

#cef2c2

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

RGB
206, 242, 194
HSL
105°, 65%, 86%
CMYK
15, 0, 20, 5
Luminance
0.8052

Every format

HEX#cef2c2
RGBrgb(206, 242, 194)
HSLhsl(105, 65%, 86%)
CMYKcmyk(15%, 0%, 20%, 5%)
LABlab(91.9 -20.3 19.4)
LCHlch(91.9 28.1 136.3)
OKLCHoklch(0.923 0.074 137.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef2c2 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#cef2c2 on black: 17.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green94.9%
Blue76.1%

CMYK percentages

Cyan14.9%
Magenta0.0%
Yellow19.8%
Key (black)5.1%

Color previews

#cef2c2 text on a black background

contrast 17.10:1

Card sample

#cef2c2 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cef2c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef2c2 in the Color Lab