Skip to content

#cefc2c

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

RGB
206, 252, 44
HSL
73°, 97%, 58%
CMYK
18, 0, 83, 1
Luminance
0.8292

Every format

HEX#cefc2c
RGBrgb(206, 252, 44)
HSLhsl(73, 97%, 58%)
CMYKcmyk(18%, 0%, 83%, 1%)
LABlab(93.0 -39.1 84.2)
LCHlch(93.0 92.8 114.9)
OKLCHoklch(0.926 0.216 122.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green98.8%
Blue17.3%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow82.5%
Key (black)1.2%

Color previews

#cefc2c text on a black background

contrast 17.58:1

Card sample

#cefc2c text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cefc2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefc2c in the Color Lab