Skip to content

#cdffb4

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

RGB
205, 255, 180
HSL
100°, 100%, 85%
CMYK
20, 0, 29, 0
Luminance
0.8779

Every format

HEX#cdffb4
RGBrgb(205, 255, 180)
HSLhsl(100, 100%, 85%)
CMYKcmyk(20%, 0%, 29%, 0%)
LABlab(95.1 -29.0 30.8)
LCHlch(95.1 42.3 133.3)
OKLCHoklch(0.947 0.111 135.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green100.0%
Blue70.6%

CMYK percentages

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

Color previews

#cdffb4 text on a black background

contrast 18.56:1

Card sample

#cdffb4 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdffb4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdffb4 in the Color Lab