Skip to content

#cdfab2

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

RGB
205, 250, 178
HSL
98°, 88%, 84%
CMYK
18, 0, 29, 2
Luminance
0.8456

Every format

HEX#cdfab2
RGBrgb(205, 250, 178)
HSLhsl(98, 88%, 84%)
CMYKcmyk(18%, 0%, 29%, 2%)
LABlab(93.7 -27.0 30.0)
LCHlch(93.7 40.3 132.0)
OKLCHoklch(0.936 0.105 134.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdfab2 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#cdfab2 on black: 17.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green98.0%
Blue69.8%

CMYK percentages

Cyan18.0%
Magenta0.0%
Yellow28.8%
Key (black)2.0%

Color previews

#cdfab2 text on a black background

contrast 17.91:1

Card sample

#cdfab2 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdfab2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfab2 in the Color Lab