Skip to content

#cefeb2

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

RGB
206, 254, 178
HSL
98°, 97%, 85%
CMYK
19, 0, 30, 0
Luminance
0.8722

Every format

HEX#cefeb2
RGBrgb(206, 254, 178)
HSLhsl(98, 97%, 85%)
CMYKcmyk(19%, 0%, 30%, 0%)
LABlab(94.8 -28.5 31.5)
LCHlch(94.8 42.5 132.1)
OKLCHoklch(0.945 0.111 134.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cefeb2 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#cefeb2 on black: 18.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green99.6%
Blue69.8%

CMYK percentages

Cyan18.9%
Magenta0.0%
Yellow29.9%
Key (black)0.4%

Color previews

#cefeb2 text on a black background

contrast 18.44:1

Card sample

#cefeb2 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cefeb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefeb2 in the Color Lab