Skip to content

#cef5b2

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

RGB
206, 245, 178
HSL
95°, 77%, 83%
CMYK
16, 0, 27, 4
Luminance
0.8164

Every format

HEX#cef5b2
RGBrgb(206, 245, 178)
HSLhsl(95, 77%, 83%)
CMYKcmyk(16%, 0%, 27%, 4%)
LABlab(92.4 -24.2 28.2)
LCHlch(92.4 37.2 130.6)
OKLCHoklch(0.926 0.097 132.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef5b2 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#cef5b2 on black: 17.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green96.1%
Blue69.8%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow27.3%
Key (black)3.9%

Color previews

#cef5b2 text on a black background

contrast 17.33:1

Card sample

#cef5b2 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cef5b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef5b2 in the Color Lab