Skip to content

#cef80c

a balanced, electric green · cool · closest name: yellow

RGB
206, 248, 12
HSL
71°, 94%, 51%
CMYK
17, 0, 95, 3
Luminance
0.8028

Every format

HEX#cef80c
RGBrgb(206, 248, 12)
HSLhsl(71, 94%, 51%)
CMYKcmyk(17%, 0%, 95%, 3%)
LABlab(91.8 -38.0 88.1)
LCHlch(91.8 95.9 113.3)
OKLCHoklch(0.917 0.219 121.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef80c on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#cef80c on black: 17.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green97.3%
Blue4.7%

CMYK percentages

Cyan16.9%
Magenta0.0%
Yellow95.2%
Key (black)2.7%

Color previews

#cef80c text on a black background

contrast 17.06:1

Card sample

#cef80c text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cef80c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef80c in the Color Lab