Skip to content

#cfef39

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

RGB
207, 239, 57
HSL
71°, 85%, 58%
CMYK
13, 0, 76, 6
Luminance
0.7529

Every format

HEX#cfef39
RGBrgb(207, 239, 57)
HSLhsl(71, 85%, 58%)
CMYKcmyk(13%, 0%, 76%, 6%)
LABlab(89.5 -32.4 77.8)
LCHlch(89.5 84.3 112.6)
OKLCHoklch(0.899 0.196 119.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfef39 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#cfef39 on black: 16.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green93.7%
Blue22.4%

CMYK percentages

Cyan13.4%
Magenta0.0%
Yellow76.2%
Key (black)6.3%

Color previews

#cfef39 text on a black background

contrast 16.06:1

Card sample

#cfef39 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 239, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 239, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfef39;
background: linear-gradient(135deg, #cfef39, #56EF39);

Monochromatic scale

Palettes built from #cfef39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfef39 in the Color Lab