Skip to content

#cef7d2

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

RGB
206, 247, 210
HSL
126°, 72%, 89%
CMYK
17, 0, 15, 3
Luminance
0.8430

Every format

HEX#cef7d2
RGBrgb(206, 247, 210)
HSLhsl(126, 72%, 89%)
CMYKcmyk(17%, 0%, 15%, 3%)
LABlab(93.6 -20.1 13.5)
LCHlch(93.6 24.1 146.1)
OKLCHoklch(0.937 0.065 147.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef7d2 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#cef7d2 on black: 17.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green96.9%
Blue82.4%

CMYK percentages

Cyan16.6%
Magenta0.0%
Yellow15.0%
Key (black)3.1%

Color previews

#cef7d2 text on a black background

contrast 17.86:1

Card sample

#cef7d2 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cef7d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef7d2 in the Color Lab