Skip to content

#cef2af

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

RGB
206, 242, 175
HSL
92°, 72%, 82%
CMYK
15, 0, 28, 5
Luminance
0.7972

Every format

HEX#cef2af
RGBrgb(206, 242, 175)
HSLhsl(92, 72%, 82%)
CMYKcmyk(15%, 0%, 28%, 5%)
LABlab(91.6 -23.2 28.6)
LCHlch(91.6 36.9 129.1)
OKLCHoklch(0.919 0.096 131.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef2af on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#cef2af on black: 16.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green94.9%
Blue68.6%

CMYK percentages

Cyan14.9%
Magenta0.0%
Yellow27.7%
Key (black)5.1%

Color previews

#cef2af text on a black background

contrast 16.94:1

Card sample

#cef2af text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cef2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef2af in the Color Lab