Skip to content

#cfe4b2

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

RGB
207, 228, 178
HSL
85°, 48%, 80%
CMYK
9, 0, 22, 11
Luminance
0.7197

Every format

HEX#cfe4b2
RGBrgb(207, 228, 178)
HSLhsl(85, 48%, 80%)
CMYKcmyk(9%, 0%, 22%, 11%)
LABlab(88.0 -15.6 22.1)
LCHlch(88.0 27.1 125.1)
OKLCHoklch(0.891 0.070 126.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfe4b2 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#cfe4b2 on black: 15.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green89.4%
Blue69.8%

CMYK percentages

Cyan9.2%
Magenta0.0%
Yellow21.9%
Key (black)10.6%

Color previews

#cfe4b2 text on a black background

contrast 15.39:1

Card sample

#cfe4b2 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfe4b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfe4b2 in the Color Lab