Skip to content

#cff2ab

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

RGB
207, 242, 171
HSL
90°, 73%, 81%
CMYK
15, 0, 29, 5
Luminance
0.7971

Every format

HEX#cff2ab
RGBrgb(207, 242, 171)
HSLhsl(90, 73%, 81%)
CMYKcmyk(15%, 0%, 29%, 5%)
LABlab(91.5 -23.5 30.6)
LCHlch(91.5 38.6 127.4)
OKLCHoklch(0.919 0.100 129.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cff2ab on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#cff2ab on black: 16.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green94.9%
Blue67.1%

CMYK percentages

Cyan14.5%
Magenta0.0%
Yellow29.3%
Key (black)5.1%

Color previews

#cff2ab text on a black background

contrast 16.94:1

Card sample

#cff2ab text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cff2ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cff2ab in the Color Lab