Skip to content

#cdfab3

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

RGB
205, 250, 179
HSL
98°, 88%, 84%
CMYK
18, 0, 28, 2
Luminance
0.8461

Every format

HEX#cdfab3
RGBrgb(205, 250, 179)
HSLhsl(98, 88%, 84%)
CMYKcmyk(18%, 0%, 28%, 2%)
LABlab(93.7 -26.8 29.5)
LCHlch(93.7 39.9 132.3)
OKLCHoklch(0.936 0.104 134.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green98.0%
Blue70.2%

CMYK percentages

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

Color previews

#cdfab3 text on a black background

contrast 17.92:1

Card sample

#cdfab3 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdfab3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfab3 in the Color Lab