Skip to content

#cdffab

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

RGB
205, 255, 171
HSL
96°, 100%, 84%
CMYK
20, 0, 33, 0
Luminance
0.8744

Every format

HEX#cdffab
RGBrgb(205, 255, 171)
HSLhsl(96, 100%, 84%)
CMYKcmyk(20%, 0%, 33%, 0%)
LABlab(94.9 -30.3 35.1)
LCHlch(94.9 46.4 130.8)
OKLCHoklch(0.946 0.120 133.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green100.0%
Blue67.1%

CMYK percentages

Cyan19.6%
Magenta0.0%
Yellow32.9%
Key (black)0.0%

Color previews

#cdffab text on a black background

contrast 18.49:1

Card sample

#cdffab text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdffab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdffab in the Color Lab