Skip to content

#cfef80

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

RGB
207, 239, 128
HSL
77°, 78%, 72%
CMYK
13, 0, 46, 6
Luminance
0.7656

Every format

HEX#cfef80
RGBrgb(207, 239, 128)
HSLhsl(77, 78%, 72%)
CMYKcmyk(13%, 0%, 46%, 6%)
LABlab(90.1 -27.3 50.0)
LCHlch(90.1 57.0 118.7)
OKLCHoklch(0.905 0.142 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfef80 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#cfef80 on black: 16.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green93.7%
Blue50.2%

CMYK percentages

Cyan13.4%
Magenta0.0%
Yellow46.4%
Key (black)6.3%

Color previews

#cfef80 text on a black background

contrast 16.31:1

Card sample

#cfef80 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfef80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfef80 in the Color Lab