Skip to content

#cfff7f

a light, electric green · cool · closest name: khaki

RGB
207, 255, 127
HSL
83°, 100%, 75%
CMYK
19, 0, 50, 0
Luminance
0.8632

Every format

HEX#cfff7f
RGBrgb(207, 255, 127)
HSLhsl(83, 100%, 75%)
CMYKcmyk(19%, 0%, 50%, 0%)
LABlab(94.5 -34.8 55.7)
LCHlch(94.5 65.7 122.0)
OKLCHoklch(0.940 0.164 126.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfff7f on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#cfff7f on black: 18.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green100.0%
Blue49.8%

CMYK percentages

Cyan18.8%
Magenta0.0%
Yellow50.2%
Key (black)0.0%

Color previews

#cfff7f text on a black background

contrast 18.26:1

Card sample

#cfff7f text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 255, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 255, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfff7f;
background: linear-gradient(135deg, #cfff7f, #7FFF84);

Monochromatic scale

Palettes built from #cfff7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfff7f in the Color Lab