Skip to content

#cffc40

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

RGB
207, 252, 64
HSL
74°, 97%, 62%
CMYK
18, 0, 75, 1
Luminance
0.8326

Every format

HEX#cffc40
RGBrgb(207, 252, 64)
HSLhsl(74, 97%, 62%)
CMYKcmyk(18%, 0%, 75%, 1%)
LABlab(93.1 -38.0 79.0)
LCHlch(93.1 87.7 115.7)
OKLCHoklch(0.928 0.207 122.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cffc40 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#cffc40 on black: 17.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green98.8%
Blue25.1%

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow74.6%
Key (black)1.2%

Color previews

#cffc40 text on a black background

contrast 17.65:1

Card sample

#cffc40 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 252, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 252, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cffc40;
background: linear-gradient(135deg, #cffc40, #52FC40);

Monochromatic scale

Palettes built from #cffc40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cffc40 in the Color Lab