Skip to content

#cdf3a2

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

RGB
205, 243, 162
HSL
88°, 77%, 79%
CMYK
16, 0, 33, 5
Luminance
0.7969

Every format

HEX#cdf3a2
RGBrgb(205, 243, 162)
HSLhsl(88, 77%, 79%)
CMYKcmyk(16%, 0%, 33%, 5%)
LABlab(91.5 -25.9 35.1)
LCHlch(91.5 43.6 126.4)
OKLCHoklch(0.918 0.112 128.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf3a2 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#cdf3a2 on black: 16.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green95.3%
Blue63.5%

CMYK percentages

Cyan15.6%
Magenta0.0%
Yellow33.3%
Key (black)4.7%

Color previews

#cdf3a2 text on a black background

contrast 16.94:1

Card sample

#cdf3a2 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf3a2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf3a2 in the Color Lab