Skip to content

#cefcb2

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

RGB
206, 252, 178
HSL
97°, 93%, 84%
CMYK
18, 0, 29, 1
Luminance
0.8596

Every format

HEX#cefcb2
RGBrgb(206, 252, 178)
HSLhsl(97, 93%, 84%)
CMYKcmyk(18%, 0%, 29%, 1%)
LABlab(94.3 -27.6 30.8)
LCHlch(94.3 41.3 131.8)
OKLCHoklch(0.941 0.108 134.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cefcb2 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#cefcb2 on black: 18.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green98.8%
Blue69.8%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow29.4%
Key (black)1.2%

Color previews

#cefcb2 text on a black background

contrast 18.19:1

Card sample

#cefcb2 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cefcb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefcb2 in the Color Lab