Skip to content

#cfef89

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

RGB
207, 239, 137
HSL
79°, 76%, 74%
CMYK
13, 0, 43, 6
Luminance
0.7680

Every format

HEX#cfef89
RGBrgb(207, 239, 137)
HSLhsl(79, 76%, 74%)
CMYKcmyk(13%, 0%, 43%, 6%)
LABlab(90.2 -26.3 45.8)
LCHlch(90.2 52.8 119.9)
OKLCHoklch(0.907 0.133 123.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfef89 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#cfef89 on black: 16.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green93.7%
Blue53.7%

CMYK percentages

Cyan13.4%
Magenta0.0%
Yellow42.7%
Key (black)6.3%

Color previews

#cfef89 text on a black background

contrast 16.36:1

Card sample

#cfef89 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 239, 137, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 239, 137, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfef89;
background: linear-gradient(135deg, #cfef89, #8BEF89);

Monochromatic scale

Palettes built from #cfef89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfef89 in the Color Lab