Skip to content

#cefaa2

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

RGB
206, 250, 162
HSL
90°, 90%, 81%
CMYK
18, 0, 35, 2
Luminance
0.8410

Every format

HEX#cefaa2
RGBrgb(206, 250, 162)
HSLhsl(90, 90%, 81%)
CMYKcmyk(18%, 0%, 35%, 2%)
LABlab(93.5 -28.8 37.7)
LCHlch(93.5 47.5 127.4)
OKLCHoklch(0.934 0.122 130.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cefaa2 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#cefaa2 on black: 17.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green98.0%
Blue63.5%

CMYK percentages

Cyan17.6%
Magenta0.0%
Yellow35.2%
Key (black)2.0%

Color previews

#cefaa2 text on a black background

contrast 17.82:1

Card sample

#cefaa2 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cefaa2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefaa2 in the Color Lab