Skip to content

#cffc28

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

RGB
207, 252, 40
HSL
73°, 97%, 57%
CMYK
18, 0, 84, 1
Luminance
0.8304

Every format

HEX#cffc28
RGBrgb(207, 252, 40)
HSLhsl(73, 97%, 57%)
CMYKcmyk(18%, 0%, 84%, 1%)
LABlab(93.0 -38.9 85.1)
LCHlch(93.0 93.5 114.5)
OKLCHoklch(0.927 0.217 122.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green98.8%
Blue15.7%

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow84.1%
Key (black)1.2%

Color previews

#cffc28 text on a black background

contrast 17.61:1

Card sample

#cffc28 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cffc28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cffc28 in the Color Lab