Skip to content

#cdffaf

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

RGB
205, 255, 175
HSL
98°, 100%, 84%
CMYK
20, 0, 31, 0
Luminance
0.8759

Every format

HEX#cdffaf
RGBrgb(205, 255, 175)
HSLhsl(98, 100%, 84%)
CMYKcmyk(20%, 0%, 31%, 0%)
LABlab(95.0 -29.7 33.2)
LCHlch(95.0 44.6 131.8)
OKLCHoklch(0.946 0.116 134.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdffaf on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#cdffaf on black: 18.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green100.0%
Blue68.6%

CMYK percentages

Cyan19.6%
Magenta0.0%
Yellow31.4%
Key (black)0.0%

Color previews

#cdffaf text on a black background

contrast 18.52:1

Card sample

#cdffaf text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdffaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdffaf in the Color Lab