Skip to content

#cefba1

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

RGB
206, 251, 161
HSL
90°, 92%, 81%
CMYK
18, 0, 36, 2
Luminance
0.8469

Every format

HEX#cefba1
RGBrgb(206, 251, 161)
HSLhsl(90, 92%, 81%)
CMYKcmyk(18%, 0%, 36%, 2%)
LABlab(93.8 -29.4 38.5)
LCHlch(93.8 48.5 127.4)
OKLCHoklch(0.936 0.125 130.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green98.4%
Blue63.1%

CMYK percentages

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

Color previews

#cefba1 text on a black background

contrast 17.94:1

Card sample

#cefba1 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cefba1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefba1 in the Color Lab