Skip to content

#cdfeb2

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

RGB
205, 254, 178
HSL
99°, 97%, 85%
CMYK
19, 0, 30, 0
Luminance
0.8708

Every format

HEX#cdfeb2
RGBrgb(205, 254, 178)
HSLhsl(99, 97%, 85%)
CMYKcmyk(19%, 0%, 30%, 0%)
LABlab(94.8 -28.8 31.4)
LCHlch(94.8 42.6 132.6)
OKLCHoklch(0.945 0.111 134.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdfeb2 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#cdfeb2 on black: 18.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green99.6%
Blue69.8%

CMYK percentages

Cyan19.3%
Magenta0.0%
Yellow29.9%
Key (black)0.4%

Color previews

#cdfeb2 text on a black background

contrast 18.42:1

Card sample

#cdfeb2 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdfeb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfeb2 in the Color Lab