Skip to content

#cffc2e

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

RGB
207, 252, 46
HSL
73°, 97%, 58%
CMYK
18, 0, 82, 1
Luminance
0.8308

Every format

HEX#cffc2e
RGBrgb(207, 252, 46)
HSLhsl(73, 97%, 58%)
CMYKcmyk(18%, 0%, 82%, 1%)
LABlab(93.0 -38.7 83.8)
LCHlch(93.0 92.3 114.8)
OKLCHoklch(0.927 0.215 122.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green98.8%
Blue18.0%

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow81.7%
Key (black)1.2%

Color previews

#cffc2e text on a black background

contrast 17.62:1

Card sample

#cffc2e text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cffc2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cffc2e in the Color Lab