Skip to content

#cefea2

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

RGB
206, 254, 162
HSL
91°, 98%, 82%
CMYK
19, 0, 36, 0
Luminance
0.8661

Every format

HEX#cefea2
RGBrgb(206, 254, 162)
HSLhsl(91, 98%, 82%)
CMYKcmyk(19%, 0%, 36%, 0%)
LABlab(94.6 -30.7 39.1)
LCHlch(94.6 49.7 128.1)
OKLCHoklch(0.942 0.128 130.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cefea2 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#cefea2 on black: 18.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green99.6%
Blue63.5%

CMYK percentages

Cyan18.9%
Magenta0.0%
Yellow36.2%
Key (black)0.4%

Color previews

#cefea2 text on a black background

contrast 18.32:1

Card sample

#cefea2 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cefea2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefea2 in the Color Lab