Skip to content

#cef080

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

RGB
206, 240, 128
HSL
78°, 79%, 72%
CMYK
14, 0, 47, 6
Luminance
0.7700

Every format

HEX#cef080
RGBrgb(206, 240, 128)
HSLhsl(78, 79%, 72%)
CMYKcmyk(14%, 0%, 47%, 6%)
LABlab(90.3 -28.1 50.2)
LCHlch(90.3 57.6 119.3)
OKLCHoklch(0.907 0.144 123.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green94.1%
Blue50.2%

CMYK percentages

Cyan14.2%
Magenta0.0%
Yellow46.7%
Key (black)5.9%

Color previews

#cef080 text on a black background

contrast 16.40:1

Card sample

#cef080 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 240, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 240, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cef080;
background: linear-gradient(135deg, #cef080, #84F080);

Monochromatic scale

Palettes built from #cef080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef080 in the Color Lab