Skip to content

#cfe2b2

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

RGB
207, 226, 178
HSL
84°, 45%, 79%
CMYK
8, 0, 21, 11
Luminance
0.7087

Every format

HEX#cfe2b2
RGBrgb(207, 226, 178)
HSLhsl(84, 45%, 79%)
CMYKcmyk(8%, 0%, 21%, 11%)
LABlab(87.4 -14.6 21.4)
LCHlch(87.4 25.9 124.3)
OKLCHoklch(0.886 0.067 125.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfe2b2 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#cfe2b2 on black: 15.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green88.6%
Blue69.8%

CMYK percentages

Cyan8.4%
Magenta0.0%
Yellow21.2%
Key (black)11.4%

Color previews

#cfe2b2 text on a black background

contrast 15.17:1

Card sample

#cfe2b2 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfe2b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfe2b2 in the Color Lab