Skip to content

#cff6b2

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

RGB
207, 246, 178
HSL
94°, 79%, 83%
CMYK
16, 0, 28, 4
Luminance
0.8239

Every format

HEX#cff6b2
RGBrgb(207, 246, 178)
HSLhsl(94, 79%, 83%)
CMYKcmyk(16%, 0%, 28%, 4%)
LABlab(92.8 -24.4 28.7)
LCHlch(92.8 37.6 130.3)
OKLCHoklch(0.929 0.098 132.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cff6b2 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#cff6b2 on black: 17.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green96.5%
Blue69.8%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow27.6%
Key (black)3.5%

Color previews

#cff6b2 text on a black background

contrast 17.48:1

Card sample

#cff6b2 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cff6b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cff6b2 in the Color Lab