Skip to content

#cff1a7

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

RGB
207, 241, 167
HSL
88°, 73%, 80%
CMYK
14, 0, 31, 6
Luminance
0.7897

Every format

HEX#cff1a7
RGBrgb(207, 241, 167)
HSLhsl(88, 73%, 80%)
CMYKcmyk(14%, 0%, 31%, 6%)
LABlab(91.2 -23.5 32.2)
LCHlch(91.2 39.9 126.2)
OKLCHoklch(0.916 0.103 128.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cff1a7 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#cff1a7 on black: 16.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green94.5%
Blue65.5%

CMYK percentages

Cyan14.1%
Magenta0.0%
Yellow30.7%
Key (black)5.5%

Color previews

#cff1a7 text on a black background

contrast 16.79:1

Card sample

#cff1a7 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cff1a7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cff1a7 in the Color Lab