Skip to content

#cfe950

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

RGB
207, 233, 80
HSL
70°, 78%, 61%
CMYK
11, 0, 66, 9
Luminance
0.7212

Every format

HEX#cfe950
RGBrgb(207, 233, 80)
HSLhsl(70, 78%, 61%)
CMYKcmyk(11%, 0%, 66%, 9%)
LABlab(88.0 -28.4 68.5)
LCHlch(88.0 74.2 112.5)
OKLCHoklch(0.887 0.176 118.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfe950 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#cfe950 on black: 15.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green91.4%
Blue31.4%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow65.7%
Key (black)8.6%

Color previews

#cfe950 text on a black background

contrast 15.42:1

Card sample

#cfe950 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfe950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfe950 in the Color Lab