Skip to content

#cef1b1

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

RGB
206, 241, 177
HSL
93°, 70%, 82%
CMYK
15, 0, 27, 6
Luminance
0.7921

Every format

HEX#cef1b1
RGBrgb(206, 241, 177)
HSLhsl(93, 70%, 82%)
CMYKcmyk(15%, 0%, 27%, 6%)
LABlab(91.3 -22.5 27.3)
LCHlch(91.3 35.3 129.5)
OKLCHoklch(0.917 0.092 131.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#cef1b1 text on a black background

contrast 16.84:1

Card sample

#cef1b1 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cef1b1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef1b1 in the Color Lab