Skip to content

#cefd0c

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

RGB
206, 253, 12
HSL
72°, 98%, 52%
CMYK
19, 0, 95, 1
Luminance
0.8340

Every format

HEX#cefd0c
RGBrgb(206, 253, 12)
HSLhsl(72, 98%, 52%)
CMYKcmyk(19%, 0%, 95%, 1%)
LABlab(93.2 -40.2 89.2)
LCHlch(93.2 97.8 114.3)
OKLCHoklch(0.928 0.224 122.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green99.2%
Blue4.7%

CMYK percentages

Cyan18.6%
Magenta0.0%
Yellow95.3%
Key (black)0.8%

Color previews

#cefd0c text on a black background

contrast 17.68:1

Card sample

#cefd0c text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cefd0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefd0c in the Color Lab