Skip to content

#cff2b2

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

RGB
207, 242, 178
HSL
93°, 71%, 82%
CMYK
15, 0, 26, 5
Luminance
0.7998

Every format

HEX#cff2b2
RGBrgb(207, 242, 178)
HSLhsl(93, 71%, 82%)
CMYKcmyk(15%, 0%, 26%, 5%)
LABlab(91.7 -22.4 27.3)
LCHlch(91.7 35.3 129.5)
OKLCHoklch(0.920 0.092 131.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green94.9%
Blue69.8%

CMYK percentages

Cyan14.5%
Magenta0.0%
Yellow26.4%
Key (black)5.1%

Color previews

#cff2b2 text on a black background

contrast 17.00:1

Card sample

#cff2b2 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cff2b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cff2b2 in the Color Lab