Skip to content

#cefe2d

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

RGB
206, 254, 45
HSL
74°, 99%, 59%
CMYK
19, 0, 82, 0
Luminance
0.8419

Every format

HEX#cefe2d
RGBrgb(206, 254, 45)
HSLhsl(74, 99%, 59%)
CMYKcmyk(19%, 0%, 82%, 0%)
LABlab(93.5 -40.0 84.4)
LCHlch(93.5 93.4 115.3)
OKLCHoklch(0.931 0.218 122.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cefe2d on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#cefe2d on black: 17.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green99.6%
Blue17.6%

CMYK percentages

Cyan18.9%
Magenta0.0%
Yellow82.3%
Key (black)0.4%

Color previews

#cefe2d text on a black background

contrast 17.84:1

Card sample

#cefe2d text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 254, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 254, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cefe2d;
background: linear-gradient(135deg, #cefe2d, #42FE2D);

Monochromatic scale

Palettes built from #cefe2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefe2d in the Color Lab