Skip to content

#cdf4af

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

RGB
205, 244, 175
HSL
94°, 76%, 82%
CMYK
16, 0, 28, 4
Luminance
0.8078

Every format

HEX#cdf4af
RGBrgb(205, 244, 175)
HSLhsl(94, 76%, 82%)
CMYKcmyk(16%, 0%, 28%, 4%)
LABlab(92.0 -24.5 29.2)
LCHlch(92.0 38.2 130.0)
OKLCHoklch(0.923 0.099 132.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf4af on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#cdf4af on black: 17.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green95.7%
Blue68.6%

CMYK percentages

Cyan16.0%
Magenta0.0%
Yellow28.3%
Key (black)4.3%

Color previews

#cdf4af text on a black background

contrast 17.16:1

Card sample

#cdf4af text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf4af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf4af in the Color Lab