Skip to content

#cdf4b1

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

RGB
205, 244, 177
HSL
95°, 75%, 83%
CMYK
16, 0, 28, 4
Luminance
0.8085

Every format

HEX#cdf4b1
RGBrgb(205, 244, 177)
HSLhsl(95, 75%, 83%)
CMYKcmyk(16%, 0%, 28%, 4%)
LABlab(92.1 -24.3 28.3)
LCHlch(92.1 37.2 130.6)
OKLCHoklch(0.923 0.097 132.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green95.7%
Blue69.4%

CMYK percentages

Cyan16.0%
Magenta0.0%
Yellow27.5%
Key (black)4.3%

Color previews

#cdf4b1 text on a black background

contrast 17.17:1

Card sample

#cdf4b1 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf4b1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf4b1 in the Color Lab