Skip to content

#cef1b2

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

RGB
206, 241, 178
HSL
93°, 69%, 82%
CMYK
15, 0, 26, 6
Luminance
0.7925

Every format

HEX#cef1b2
RGBrgb(206, 241, 178)
HSLhsl(93, 69%, 82%)
CMYKcmyk(15%, 0%, 26%, 6%)
LABlab(91.3 -22.3 26.8)
LCHlch(91.3 34.9 129.8)
OKLCHoklch(0.917 0.091 131.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef1b2 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#cef1b2 on black: 16.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green94.5%
Blue69.8%

CMYK percentages

Cyan14.5%
Magenta0.0%
Yellow26.1%
Key (black)5.5%

Color previews

#cef1b2 text on a black background

contrast 16.85:1

Card sample

#cef1b2 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cef1b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef1b2 in the Color Lab