Skip to content

#cfef4b

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

RGB
207, 239, 75
HSL
72°, 84%, 62%
CMYK
13, 0, 69, 6
Luminance
0.7551

Every format

HEX#cfef4b
RGBrgb(207, 239, 75)
HSLhsl(72, 84%, 62%)
CMYKcmyk(13%, 0%, 69%, 6%)
LABlab(89.6 -31.5 72.0)
LCHlch(89.6 78.6 113.6)
OKLCHoklch(0.900 0.186 119.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green93.7%
Blue29.4%

CMYK percentages

Cyan13.4%
Magenta0.0%
Yellow68.6%
Key (black)6.3%

Color previews

#cfef4b text on a black background

contrast 16.10:1

Card sample

#cfef4b text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfef4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfef4b in the Color Lab