Skip to content

#cefc40

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

RGB
206, 252, 64
HSL
75°, 97%, 62%
CMYK
18, 0, 75, 1
Luminance
0.8311

Every format

HEX#cefc40
RGBrgb(206, 252, 64)
HSLhsl(75, 97%, 62%)
CMYKcmyk(18%, 0%, 75%, 1%)
LABlab(93.1 -38.4 79.0)
LCHlch(93.1 87.8 115.9)
OKLCHoklch(0.927 0.207 122.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cefc40 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#cefc40 on black: 17.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green98.8%
Blue25.1%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow74.6%
Key (black)1.2%

Color previews

#cefc40 text on a black background

contrast 17.62:1

Card sample

#cefc40 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 252, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 252, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cefc40;
background: linear-gradient(135deg, #cefc40, #51FC40);

Monochromatic scale

Palettes built from #cefc40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefc40 in the Color Lab