Skip to content

#cfef98

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

RGB
207, 239, 152
HSL
82°, 73%, 77%
CMYK
13, 0, 36, 6
Luminance
0.7727

Every format

HEX#cfef98
RGBrgb(207, 239, 152)
HSLhsl(82, 73%, 77%)
CMYKcmyk(13%, 0%, 36%, 6%)
LABlab(90.4 -24.6 38.7)
LCHlch(90.4 45.8 122.4)
OKLCHoklch(0.909 0.117 125.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfef98 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#cfef98 on black: 16.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green93.7%
Blue59.6%

CMYK percentages

Cyan13.4%
Magenta0.0%
Yellow36.4%
Key (black)6.3%

Color previews

#cfef98 text on a black background

contrast 16.45:1

Card sample

#cfef98 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfef98

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfef98 in the Color Lab