Skip to content

#cdfab4

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

RGB
205, 250, 180
HSL
99°, 88%, 84%
CMYK
18, 0, 28, 2
Luminance
0.8465

Every format

HEX#cdfab4
RGBrgb(205, 250, 180)
HSLhsl(99, 88%, 84%)
CMYKcmyk(18%, 0%, 28%, 2%)
LABlab(93.7 -26.7 29.0)
LCHlch(93.7 39.4 132.6)
OKLCHoklch(0.936 0.103 134.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green98.0%
Blue70.6%

CMYK percentages

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

Color previews

#cdfab4 text on a black background

contrast 17.93:1

Card sample

#cdfab4 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdfab4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfab4 in the Color Lab