Skip to content

#cdf9b8

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

RGB
205, 249, 184
HSL
101°, 84%, 85%
CMYK
18, 0, 26, 2
Luminance
0.8419

Every format

HEX#cdf9b8
RGBrgb(205, 249, 184)
HSLhsl(101, 84%, 85%)
CMYKcmyk(18%, 0%, 26%, 2%)
LABlab(93.5 -25.6 26.7)
LCHlch(93.5 37.0 133.8)
OKLCHoklch(0.935 0.097 135.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf9b8 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#cdf9b8 on black: 17.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green97.6%
Blue72.2%

CMYK percentages

Cyan17.7%
Magenta0.0%
Yellow26.1%
Key (black)2.4%

Color previews

#cdf9b8 text on a black background

contrast 17.84:1

Card sample

#cdf9b8 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf9b8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf9b8 in the Color Lab