Skip to content

#cefbab

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

RGB
206, 251, 171
HSL
94°, 91%, 83%
CMYK
18, 0, 32, 2
Luminance
0.8506

Every format

HEX#cefbab
RGBrgb(206, 251, 171)
HSLhsl(94, 91%, 83%)
CMYKcmyk(18%, 0%, 32%, 2%)
LABlab(93.9 -28.1 33.8)
LCHlch(93.9 43.9 129.7)
OKLCHoklch(0.938 0.114 132.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cefbab on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#cefbab on black: 18.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green98.4%
Blue67.1%

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow31.9%
Key (black)1.6%

Color previews

#cefbab text on a black background

contrast 18.01:1

Card sample

#cefbab text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cefbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefbab in the Color Lab