Skip to content

#cddfa2

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

RGB
205, 223, 162
HSL
78°, 49%, 76%
CMYK
8, 0, 27, 13
Luminance
0.6836

Every format

HEX#cddfa2
RGBrgb(205, 223, 162)
HSLhsl(78, 49%, 76%)
CMYKcmyk(8%, 0%, 27%, 13%)
LABlab(86.2 -16.2 28.0)
LCHlch(86.2 32.3 120.0)
OKLCHoklch(0.875 0.083 121.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cddfa2 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#cddfa2 on black: 14.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green87.5%
Blue63.5%

CMYK percentages

Cyan8.1%
Magenta0.0%
Yellow27.4%
Key (black)12.5%

Color previews

#cddfa2 text on a black background

contrast 14.67:1

Card sample

#cddfa2 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddfa2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddfa2 in the Color Lab