Skip to content

#cfef45

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

RGB
207, 239, 69
HSL
71°, 84%, 60%
CMYK
13, 0, 71, 6
Luminance
0.7543

Every format

HEX#cfef45
RGBrgb(207, 239, 69)
HSLhsl(71, 84%, 60%)
CMYKcmyk(13%, 0%, 71%, 6%)
LABlab(89.6 -31.8 74.0)
LCHlch(89.6 80.6 113.3)
OKLCHoklch(0.899 0.190 119.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green93.7%
Blue27.1%

CMYK percentages

Cyan13.4%
Magenta0.0%
Yellow71.1%
Key (black)6.3%

Color previews

#cfef45 text on a black background

contrast 16.09:1

Card sample

#cfef45 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfef45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfef45 in the Color Lab