Skip to content

#cfef7b

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

RGB
207, 239, 123
HSL
77°, 78%, 71%
CMYK
13, 0, 49, 6
Luminance
0.7643

Every format

HEX#cfef7b
RGBrgb(207, 239, 123)
HSLhsl(77, 78%, 71%)
CMYKcmyk(13%, 0%, 49%, 6%)
LABlab(90.1 -27.8 52.3)
LCHlch(90.1 59.2 118.0)
OKLCHoklch(0.905 0.147 122.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfef7b on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#cfef7b on black: 16.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green93.7%
Blue48.2%

CMYK percentages

Cyan13.4%
Magenta0.0%
Yellow48.5%
Key (black)6.3%

Color previews

#cfef7b text on a black background

contrast 16.29:1

Card sample

#cfef7b text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 239, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 239, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfef7b;
background: linear-gradient(135deg, #cfef7b, #82EF7B);

Monochromatic scale

Palettes built from #cfef7b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfef7b in the Color Lab