Skip to content

#cef049

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

RGB
206, 240, 73
HSL
72°, 85%, 61%
CMYK
14, 0, 70, 6
Luminance
0.7592

Every format

HEX#cef049
RGBrgb(206, 240, 73)
HSLhsl(72, 85%, 61%)
CMYKcmyk(14%, 0%, 70%, 6%)
LABlab(89.8 -32.5 72.9)
LCHlch(89.8 79.8 114.0)
OKLCHoklch(0.901 0.189 120.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef049 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#cef049 on black: 16.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green94.1%
Blue28.6%

CMYK percentages

Cyan14.2%
Magenta0.0%
Yellow69.6%
Key (black)5.9%

Color previews

#cef049 text on a black background

contrast 16.18:1

Card sample

#cef049 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 240, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 240, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cef049;
background: linear-gradient(135deg, #cef049, #5FF049);

Monochromatic scale

Palettes built from #cef049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef049 in the Color Lab