Skip to content

#cef2ad

a light, vivid green · cool · closest name: khaki

RGB
206, 242, 173
HSL
91°, 73%, 81%
CMYK
15, 0, 29, 5
Luminance
0.7964

Every format

HEX#cef2ad
RGBrgb(206, 242, 173)
HSLhsl(91, 73%, 81%)
CMYKcmyk(15%, 0%, 29%, 5%)
LABlab(91.5 -23.5 29.6)
LCHlch(91.5 37.8 128.5)
OKLCHoklch(0.919 0.098 130.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef2ad on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#cef2ad on black: 16.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green94.9%
Blue67.8%

CMYK percentages

Cyan14.9%
Magenta0.0%
Yellow28.5%
Key (black)5.1%

Color previews

#cef2ad text on a black background

contrast 16.93:1

Card sample

#cef2ad text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cef2ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef2ad in the Color Lab