Skip to content

#cdffa2

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

RGB
205, 255, 162
HSL
92°, 100%, 82%
CMYK
20, 0, 37, 0
Luminance
0.8711

Every format

HEX#cdffa2
RGBrgb(205, 255, 162)
HSLhsl(92, 100%, 82%)
CMYKcmyk(20%, 0%, 37%, 0%)
LABlab(94.8 -31.5 39.4)
LCHlch(94.8 50.5 128.7)
OKLCHoklch(0.944 0.130 131.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green100.0%
Blue63.5%

CMYK percentages

Cyan19.6%
Magenta0.0%
Yellow36.5%
Key (black)0.0%

Color previews

#cdffa2 text on a black background

contrast 18.42:1

Card sample

#cdffa2 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdffa2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdffa2 in the Color Lab