Skip to content

#cef2c7

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

RGB
206, 242, 199
HSL
110°, 62%, 87%
CMYK
15, 0, 18, 5
Luminance
0.8075

Every format

HEX#cef2c7
RGBrgb(206, 242, 199)
HSLhsl(110, 62%, 87%)
CMYKcmyk(15%, 0%, 18%, 5%)
LABlab(92.0 -19.5 16.9)
LCHlch(92.0 25.8 139.0)
OKLCHoklch(0.924 0.069 140.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef2c7 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#cef2c7 on black: 17.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green94.9%
Blue78.0%

CMYK percentages

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

Color previews

#cef2c7 text on a black background

contrast 17.15:1

Card sample

#cef2c7 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cef2c7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef2c7 in the Color Lab