Skip to content

#cfe2af

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

RGB
207, 226, 175
HSL
82°, 47%, 79%
CMYK
8, 0, 23, 11
Luminance
0.7075

Every format

HEX#cfe2af
RGBrgb(207, 226, 175)
HSLhsl(82, 47%, 79%)
CMYKcmyk(8%, 0%, 23%, 11%)
LABlab(87.4 -15.0 22.9)
LCHlch(87.4 27.4 123.3)
OKLCHoklch(0.886 0.071 124.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfe2af on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#cfe2af on black: 15.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green88.6%
Blue68.6%

CMYK percentages

Cyan8.4%
Magenta0.0%
Yellow22.6%
Key (black)11.4%

Color previews

#cfe2af text on a black background

contrast 15.15:1

Card sample

#cfe2af text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfe2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfe2af in the Color Lab